SubscribeOptionsUpdate

data class SubscribeOptionsUpdate(val wantedCollections: List<Nsid>? = null, val wantedDids: List<Did>? = null, val maxMessageSizeBytes: Long? = 0)

Update subscription filter after connecting to the socket.

Parameters

wantedCollections

Which records you receive on your stream (default empty = all collections).

wantedDids

Which records you receive on your stream (default empty = all repos).

maxMessageSizeBytes

The maximum size of a payload that this client would like to receive.

Constructors

Link copied to clipboard
constructor(wantedCollections: List<Nsid>? = null, wantedDids: List<Did>? = null, maxMessageSizeBytes: Long? = 0)

Properties

Link copied to clipboard

The maximum size of a payload that this client would like to receive.

Link copied to clipboard

Which records you receive on your stream (default empty = all collections).

Link copied to clipboard

Which records you receive on your stream (default empty = all repos).