RawWebsocketMessage class

Constructors

RawWebsocketMessage(MessageType, any, string)

Properties

binaryContent
id
messageType
payload
textContent

Constructor Details

RawWebsocketMessage(MessageType, any, string)

new RawWebsocketMessage(messageType: MessageType, payload: any, id?: string)

Parameters

messageType
MessageType
payload
any
id
string

Property Details

binaryContent

binaryContent: ArrayBuffer

Property Value

ArrayBuffer

id

id: string

Property Value

string

messageType

messageType: MessageType

Property Value

payload

payload: any

Property Value

any

textContent

textContent: string

Property Value

string