Warning:
Fauna is decommissioning FQL v4 on June 30, 2025.

This driver is not compatible with FQL v10, the latest version. Fauna accounts created after August 21, 2024 must use FQL v10.
Ensure you migrate existing projects to the official v10 driver by the v4 EOL date: https://github.com/fauna/fauna-dotnet.

For more information, see the v4 end of life (EOL) announcement and related FAQ.

Fauna csharp driver  5.0.0-preview
Public Member Functions | Properties | List of all members
FaunaDB.Client.RequestResult Class Reference

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...
 

Detailed Description

Stores information about a single request and response.

Definition at line 9 of file RequestResult.cs.

Constructor & Destructor Documentation

◆ RequestResult()

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.

Property Documentation

◆ EndTime

DateTime FaunaDB.Client.RequestResult.EndTime
get

DateTime when the query finished.

Definition at line 54 of file RequestResult.cs.

◆ Method

HttpMethodKind FaunaDB.Client.RequestResult.Method
get

HTTP method that was used.

Definition at line 14 of file RequestResult.cs.

◆ Path

string FaunaDB.Client.RequestResult.Path
get

Path that was queried. Relative to client's domain.

Definition at line 19 of file RequestResult.cs.

◆ Query

IReadOnlyDictionary<string, string> FaunaDB.Client.RequestResult.Query
get

The query parameters submitted on the request.

Definition at line 24 of file RequestResult.cs.

◆ RequestContent

string FaunaDB.Client.RequestResult.RequestContent
get

String data submited for the server.

Definition at line 29 of file RequestResult.cs.

◆ ResponseContent

string FaunaDB.Client.RequestResult.ResponseContent
get

String returned by the server.

Definition at line 34 of file RequestResult.cs.

◆ ResponseHeaders

IReadOnlyDictionary<string, IEnumerable<string> > FaunaDB.Client.RequestResult.ResponseHeaders
get

Response headers returned by the FaunaDB server.

Definition at line 44 of file RequestResult.cs.

◆ StartTime

DateTime FaunaDB.Client.RequestResult.StartTime
get

DateTime when the query was issued.

Definition at line 49 of file RequestResult.cs.

◆ StatusCode

int FaunaDB.Client.RequestResult.StatusCode
get

Http status code result of the request.

Definition at line 39 of file RequestResult.cs.

◆ TimeTaken

TimeSpan FaunaDB.Client.RequestResult.TimeTaken
get

Indicates how long the query took to execute.

Definition at line 59 of file RequestResult.cs.


The documentation for this class was generated from the following file: