Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Fauna.Core.FeedOptions Class Reference

Represents the options when subscribing to Fauna Event Feeds. More...

Inheritance diagram for Fauna.Core.FeedOptions:
Fauna.Types.EventOptions

Public Member Functions

 FeedOptions (string cursor, int? pageSize=null)
 Initializes a new instance of the FeedOptions class with the specified cursor and optional page size.
 
 FeedOptions (long startTs, int? pageSize=null)
 Initializes a new instance of the FeedOptions class with the specified start timestamp and optional page size.
 
 FeedOptions (int pageSize)
 Initializes a new instance of the FeedOptions class with the specified page size.
 

Additional Inherited Members

- Properties inherited from Fauna.Types.EventOptions
string? Cursor [get, set]
 Cursor returned from Fauna.
 
long? StartTs [get]
 Start timestamp returned for the feed. Used to resume the Feed.
 
int? PageSize [get]
 Limit page size for the Feed.
 

Detailed Description

Represents the options when subscribing to Fauna Event Feeds.

Definition at line 8 of file FeedOptions.cs.

Constructor & Destructor Documentation

◆ FeedOptions() [1/3]

Fauna.Core.FeedOptions.FeedOptions ( string  cursor,
int?  pageSize = null 
)

Initializes a new instance of the FeedOptions class with the specified cursor and optional page size.

Parameters
cursorThe cursor for the feed. Used to resume the Feed.
pageSizeOptional page size for the feed.

Definition at line 16 of file FeedOptions.cs.

◆ FeedOptions() [2/3]

Fauna.Core.FeedOptions.FeedOptions ( long  startTs,
int?  pageSize = null 
)

Initializes a new instance of the FeedOptions class with the specified start timestamp and optional page size.

Parameters
startTsThe start timestamp for the feed. Used to resume the Feed.
pageSizeOptional page size for the feed.

Definition at line 28 of file FeedOptions.cs.

◆ FeedOptions() [3/3]

Fauna.Core.FeedOptions.FeedOptions ( int  pageSize)

Initializes a new instance of the FeedOptions class with the specified page size.

Parameters
pageSizeThe page size for the feed.

Definition at line 38 of file FeedOptions.cs.


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