Fauna .NET Driver 0.1.0-beta
 
Loading...
Searching...
No Matches
IConnection.cs
Go to the documentation of this file.
1namespace Fauna;
2
6public interface IConnection : IDisposable
7{
16 Task<HttpResponseMessage> DoPostAsync(
17 string path,
18 Stream body,
19 Dictionary<string, string> headers,
20 CancellationToken cancel);
21}
Represents an interface for connections to a Fauna database.
Definition IConnection.cs:7
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.
Definition Client.cs:9