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.
Optional
showWhether to show the debugger link. Defaults to true.
Optional
warnWhether to warn when closing tab with unsynchronized changes. Defaults to false.
WebSocket constructor to use (defaults to
WebSocket
)