Fauna v10 .NET/C# Driver
1.0.1
Loading...
Searching...
No Matches
repo.git
Fauna
Core
IConnection.cs
Go to the documentation of this file.
1
using
Fauna.Mapping
;
2
using
Fauna.Types
;
3
using
Stream
= System.IO.Stream;
4
5
namespace
Fauna.Core
;
6
10
internal
interface
IConnection : IDisposable
11
{
21
Task<HttpResponseMessage> DoPostAsync(
22
string
path,
23
Stream
body,
24
Dictionary<string, string> headers,
25
TimeSpan requestTimeout,
26
CancellationToken cancel);
27
38
39
IAsyncEnumerable<Event<T>> OpenStream<T>(
40
string
path,
41
Types.EventSource eventSource,
42
Dictionary<string, string> headers,
43
MappingContext
ctx,
44
CancellationToken cancellationToken =
default
) where T : notnull;
45
}
Stream
System.IO.Stream Stream
Definition
Client.cs:8
Fauna.Mapping.MappingContext
A class representing the mapping context to be used during serialization and deserialization.
Definition
MappingContext.cs:10
Fauna.Core
Definition
Connection.cs:13
Fauna.Mapping
Definition
Attributes.cs:1
Fauna.Types
Definition
BaseRef.cs:3
Generated by
1.9.8