Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
StreamOptions.cs
Go to the documentation of this file.
1using Fauna.Types;
2
3namespace Fauna;
4
9{
16 public StreamOptions(string token, string cursor)
17 {
18 Token = token;
19 Cursor = cursor;
20 }
21
27 public StreamOptions(string token, long startTs)
28 {
29 Token = token;
30 StartTs = startTs;
31 }
32
36 public string? Token { get; }
37}
Represents the options when subscribing to Fauna Event Streams.
StreamOptions(string token, string cursor)
Initializes a new instance of the StreamOptions class with the specified token and cursor.
string? Token
Token for a Fauna event source.
StreamOptions(string token, long startTs)
Initializes a new instance of the StreamOptions class with the specified token and start timestamp.
Represents the options for a Fauna EventSource.
string? Cursor
Cursor returned from Fauna.
long? StartTs
Start timestamp returned for the feed. Used to resume the Feed.