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.StreamingRequestResult Class Reference

Public Member Functions

 StreamingRequestResult (IReadOnlyDictionary< string, string > query, string requestContent, Stream responseContent, int statusCode, string errorContent, 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...
 
Stream ResponseContent [get]
 String returned by the server. More...
 
int StatusCode [get]
 Http status code result of the request. More...
 
string ErrorContent [get]
 Http content message in case request results in an error response. 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

Definition at line 7 of file StreamingRequestResult.cs.

Constructor & Destructor Documentation

◆ StreamingRequestResult()

FaunaDB.Client.StreamingRequestResult.StreamingRequestResult ( IReadOnlyDictionary< string, string >  query,
string  requestContent,
Stream  responseContent,
int  statusCode,
string  errorContent,
IReadOnlyDictionary< string, IEnumerable< string >>  responseHeaders,
DateTime  startTime,
DateTime  endTime 
)

Definition at line 64 of file StreamingRequestResult.cs.

Property Documentation

◆ EndTime

DateTime FaunaDB.Client.StreamingRequestResult.EndTime
get

DateTime when the query finished.

Definition at line 57 of file StreamingRequestResult.cs.

◆ ErrorContent

string FaunaDB.Client.StreamingRequestResult.ErrorContent
get

Http content message in case request results in an error response.

Definition at line 42 of file StreamingRequestResult.cs.

◆ Method

HttpMethodKind FaunaDB.Client.StreamingRequestResult.Method
get

HTTP method that was used.

Definition at line 12 of file StreamingRequestResult.cs.

◆ Path

string FaunaDB.Client.StreamingRequestResult.Path
get

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

Definition at line 17 of file StreamingRequestResult.cs.

◆ Query

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

The query parameters submitted on the request.

Definition at line 22 of file StreamingRequestResult.cs.

◆ RequestContent

string FaunaDB.Client.StreamingRequestResult.RequestContent
get

String data submited for the server.

Definition at line 27 of file StreamingRequestResult.cs.

◆ ResponseContent

Stream FaunaDB.Client.StreamingRequestResult.ResponseContent
get

String returned by the server.

Definition at line 32 of file StreamingRequestResult.cs.

◆ ResponseHeaders

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

Response headers returned by the FaunaDB server.

Definition at line 47 of file StreamingRequestResult.cs.

◆ StartTime

DateTime FaunaDB.Client.StreamingRequestResult.StartTime
get

DateTime when the query was issued.

Definition at line 52 of file StreamingRequestResult.cs.

◆ StatusCode

int FaunaDB.Client.StreamingRequestResult.StatusCode
get

Http status code result of the request.

Definition at line 37 of file StreamingRequestResult.cs.

◆ TimeTaken

TimeSpan FaunaDB.Client.StreamingRequestResult.TimeTaken
get

Indicates how long the query took to execute.

Definition at line 62 of file StreamingRequestResult.cs.


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