TinyBase logoTinyBase β

Getter methods

getClientAccess

The getClientAccess method is used to get the ClientAccess object that the authorize method returned for a client when it joined the path. Read more.

getClientIds

The getClientIds method is used to access a list of all the connected clients on the path. Read more.

getFragmentSize

The getFragmentSize method is used to specify a target maximum UTF-8 byte size for each WebSocket message fragment sent by the Durable Object. Unicode code points are never split and can exceed this size. TinyBase sends at most 1,000 fragments for one payload, increasing the target when needed. Read more.

getPathId

The getPathId method is used to get the Id of the path that is being served. Read more.

getPersister

The getPersister method is used to get the Persister that the Durable Object is using, and from that, the MergeableStore that its clients synchronize with. Read more.

getRequestTimeoutSeconds

The getRequestTimeoutSeconds method is used to specify how long the Durable Object will wait for synchronization responses and incomplete fragments. Read more.