Represents an interface for connections to a Fauna database. More...
Public Member Functions | |
| Task< HttpResponseMessage > | DoPostAsync (string path, Stream body, Dictionary< string, string > headers, CancellationToken cancel) |
| Asynchronously sends a POST request to the specified path with the provided body and headers. | |
Represents an interface for connections to a Fauna database.
Definition at line 6 of file IConnection.cs.
| Task< HttpResponseMessage > Fauna.IConnection.DoPostAsync | ( | string | path, |
| Stream | body, | ||
| Dictionary< string, string > | headers, | ||
| CancellationToken | cancel | ||
| ) |
Asynchronously sends a POST request to the specified path with the provided body and headers.
| path | The path of the resource to send the request to. |
| body | The stream containing the request body. |
| headers | A dictionary of headers to be included in the request. |
| cancel | A cancellation token to use with the request. |
Implemented in Fauna.Connection.