SubscribeQueryParams

constructor(wantedCollections: List<Nsid>? = null, wantedDids: List<Did>? = null, maxMessageSizeBytes: Long? = 0, cursor: Long? = null, compress: Boolean? = false, requireHello: Boolean? = false)

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.

cursor

A unix microseconds timestamp cursor to begin playback from.

compress

Set to true to enable zstd compression.

requireHello

Set to true to pause replay/live-tail until the server receives a SubscribeOptionsUpdate.