Optional
WebOptional
awareness?: awarenessProtocol.AwarenessAwareness protocol instance
Optional
connect?: booleanWhether to connect to the websocket on creation (otherwise use connect()
)
Optional
initialAn initial client token to use (skips the first auth request if provided.)
Optional
offlineIf set, document state is stored locally for offline use and faster re-opens.
Defaults to false
; set to true
to enable.
WebSocket constructor to use (defaults to
WebSocket
)