WebSocketSignalingOptions
Properties
Section titled “Properties”credentials
Section titled “credentials”
readonlycredentials:object
protocols
Section titled “protocols”
readonlyprotocols: (signal) => readonlystring[] |Promise<readonlystring[]>
Parameters
Section titled “Parameters”signal
Section titled “signal”AbortSignal
Returns
Section titled “Returns”readonly string[] | Promise<readonly string[]>
onError
Section titled “onError”
readonlyonError: (error,url,direction) =>void
Parameters
Section titled “Parameters”unknown
string
direction
Section titled “direction”"send" | "receive"
Returns
Section titled “Returns”void
onRecovery?
Section titled “onRecovery?”
readonlyoptionalonRecovery?: (url,direction) =>void
Parameters
Section titled “Parameters”string
direction
Section titled “direction”"send" | "receive"
Returns
Section titled “Returns”void
reconnectInterval
Section titled “reconnectInterval”
readonlyreconnectInterval:number
readonlyroom:string
readonlyurls: readonlystring[]