FeedHandler class

Store Feed Access (SFA) - Client-side protocol methods

Constructors

FeedHandler()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

appendFeedEntry(P2PStream stream, {required PeerId ownerPeerId, required String path, required Uint8List content, String? entryType}) → Future<FeedFrameResponse>
Append an entry to a feed
batchGetFeedEntries(P2PStream stream, {required List<Map<String, dynamic>> batchQueries}) → Future<FeedFrameResponse>
Batch get entries from multiple feeds in a single request
createFeed(P2PStream stream, {required PeerId ownerPeerId, required String path, required String title, String description = '', bool collaborative = false}) → Future<FeedFrameResponse>
Create a new feed
deleteFeed(P2PStream stream, {required PeerId ownerPeerId, required String path}) → Future<FeedFrameResponse>
Delete a feed
getFeed(P2PStream stream, {required PeerId ownerPeerId, required String path}) → Future<FeedFrameResponse>
Get feed metadata
getFeedEntries(P2PStream stream, {required PeerId ownerPeerId, required String path, int? fromSequence, int? toSequence, int? limit, String? entryType}) → Future<FeedFrameResponse>
Get feed entries (range query)
getFeedEntry(P2PStream stream, {required PeerId ownerPeerId, required String path, required int sequenceNumber}) → Future<FeedFrameResponse>
Get a single feed entry by sequence number
listFeeds(P2PStream stream, {required PeerId ownerPeerId}) → Future<FeedFrameResponse>
List all feeds for an owner

Constants

protocolId → const String