Fauna v10 .NET/C# Driver 0.3.0-beta
 
Loading...
Searching...
No Matches
Fauna.StreamOptions Class Reference

Represents the options when subscribing to Fauna Streams. More...

Public Member Functions

 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.
 

Properties

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]
 

Detailed Description

Represents the options when subscribing to Fauna Streams.

Definition at line 6 of file StreamOptions.cs.

Constructor & Destructor Documentation

◆ 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
tokenThe token returned from Fauna when the stream is created.
cursorThe 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
tokenThe token returned from Fauna when the stream is created.
startTsThe start timestamp to use for the stream.

Definition at line 25 of file StreamOptions.cs.

Property Documentation

◆ 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

Definition at line 41 of file StreamOptions.cs.

◆ Token

string? Fauna.StreamOptions.Token
get

Definition at line 33 of file StreamOptions.cs.


The documentation for this class was generated from the following file: