Skip to main content

IWebSocketClient

Properties

adminUser

adminUser: AdminUser


close()

close: () => void

Returns

void


id

id: string


lastPing

lastPing: number


onClose()

onClose: (handler) => void

Parameters

ParameterType
handler() => void

Returns

void


onMessage()

onMessage: (handler) => void

Parameters

ParameterType
handler(message) => void

Returns

void


send()

send: (message) => void

Parameters

ParameterType
messagestring

Returns

void


topics

topics: Set<string>