Stores information about a single request and response. More...
Public Member Functions | |
RequestResult (HttpMethodKind method, string path, IReadOnlyDictionary< string, string > query, string requestContent, string responseContent, int statusCode, IReadOnlyDictionary< string, IEnumerable< string >> responseHeaders, DateTime startTime, DateTime endTime) | |
Properties | |
HttpMethodKind | Method [get] |
HTTP method that was used. More... | |
string | Path [get] |
Path that was queried. Relative to client's domain. More... | |
IReadOnlyDictionary< string, string > | Query [get] |
The query parameters submitted on the request. More... | |
string | RequestContent [get] |
String data submited for the server. More... | |
string | ResponseContent [get] |
String returned by the server. More... | |
int | StatusCode [get] |
Http status code result of the request. More... | |
IReadOnlyDictionary< string, IEnumerable< string > > | ResponseHeaders [get] |
Response headers returned by the FaunaDB server. More... | |
DateTime | StartTime [get] |
DateTime when the query was issued. More... | |
DateTime | EndTime [get] |
DateTime when the query finished. More... | |
TimeSpan | TimeTaken [get] |
Indicates how long the query took to execute. More... | |
Stores information about a single request and response.
Definition at line 9 of file RequestResult.cs.
FaunaDB.Client.RequestResult.RequestResult | ( | HttpMethodKind | method, |
string | path, | ||
IReadOnlyDictionary< string, string > | query, | ||
string | requestContent, | ||
string | responseContent, | ||
int | statusCode, | ||
IReadOnlyDictionary< string, IEnumerable< string >> | responseHeaders, | ||
DateTime | startTime, | ||
DateTime | endTime | ||
) |
Definition at line 61 of file RequestResult.cs.
|
get |
DateTime when the query finished.
Definition at line 54 of file RequestResult.cs.
|
get |
HTTP method that was used.
Definition at line 14 of file RequestResult.cs.
|
get |
Path that was queried. Relative to client's domain.
Definition at line 19 of file RequestResult.cs.
|
get |
The query parameters submitted on the request.
Definition at line 24 of file RequestResult.cs.
|
get |
String data submited for the server.
Definition at line 29 of file RequestResult.cs.
|
get |
String returned by the server.
Definition at line 34 of file RequestResult.cs.
|
get |
Response headers returned by the FaunaDB server.
Definition at line 44 of file RequestResult.cs.
|
get |
DateTime when the query was issued.
Definition at line 49 of file RequestResult.cs.
|
get |
Http status code result of the request.
Definition at line 39 of file RequestResult.cs.
|
get |
Indicates how long the query took to execute.
Definition at line 59 of file RequestResult.cs.