Constructors
Accessors
authenticated
- get authenticated(): boolean
Returns boolean
connected
- get connected(): boolean
Returns boolean
sharedb
- get sharedb(): object
Returns object
Methods
connect
- connect(url): void
Returns void
disconnect
- disconnect(): void
Returns void
endBulkSubscribe
- endBulkSubscribe(): void
Returns void
getDocument
- getDocument(collection, id): object
Parameters
- collection: string
- id: string
Returns object
The sharedb document
send
- send(data): void
Returns void
sendMessage
- sendMessage(name, data): void
Returns void
startBulkSubscribe
- startBulkSubscribe(): void
Returns void
Handles connecting and communicating with the Realtime server.