send

suspend fun send(message: String)

sends a new message to the remote endpoint

Parameters

message

message as String

Throws

when something goes wrong


suspend fun send(message: ArrayBuffer)

sends a new message to the remote endpoint

Parameters

message

message as ArrayBuffer

Throws

when something goes wrong


suspend fun send(message: ArrayBufferView)

sends a new message to the remote endpoint

Parameters

message

message as ArrayBufferView

Throws

when something goes wrong


suspend fun send(message: Blob)

sends a new message to the remote endpoint

Parameters

message

message as Blob

Throws

when something goes wrong