Represents the options when subscribing to Fauna Streams.
More...
|
| StreamOptions (string token, string cursor) |
| Initializes a new instance of the StreamOptions class with the specified token and cursor.
|
|
| StreamOptions (string token, long startTs) |
| Initializes a new instance of the StreamOptions class with the specified token and start timestamp.
|
|
|
string? | Token [get] |
|
string? | Cursor [get] |
| Cursor from the stream, must be used with the associated Token. Used to resume the stream.
|
|
long? | StartTs [get] |
|
Represents the options when subscribing to Fauna Streams.
Definition at line 6 of file StreamOptions.cs.
◆ StreamOptions() [1/2]
Fauna.StreamOptions.StreamOptions |
( |
string | token, |
|
|
string | cursor ) |
Initializes a new instance of the StreamOptions class with the specified token and cursor.
- Parameters
-
token | The token returned from Fauna when the stream is created. |
cursor | The cursor from the stream, must be used with the associated Token. Used to resume the stream. |
Definition at line 14 of file StreamOptions.cs.
◆ StreamOptions() [2/2]
Fauna.StreamOptions.StreamOptions |
( |
string | token, |
|
|
long | startTs ) |
Initializes a new instance of the StreamOptions class with the specified token and start timestamp.
- Parameters
-
token | The token returned from Fauna when the stream is created. |
startTs | The start timestamp to use for the stream. |
Definition at line 25 of file StreamOptions.cs.
◆ Cursor
string? Fauna.StreamOptions.Cursor |
|
get |
Cursor from the stream, must be used with the associated Token. Used to resume the stream.
Definition at line 37 of file StreamOptions.cs.
◆ StartTs
long? Fauna.StreamOptions.StartTs |
|
get |
◆ Token
string? Fauna.StreamOptions.Token |
|
get |
The documentation for this class was generated from the following file: