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

ArrayBuffer binaryContent

Property Value

ArrayBuffer

id

string id

Property Value

string

messageType

MessageType messageType

Property Value

payload

any payload

Property Value

any

textContent

string textContent

Property Value

string