send

suspend fun send(message: String)

sends a new message to the remote endpoint

Parameters

message

message as String

suspend fun send(message: ArrayBuffer)

sends a new message to the remote endpoint

Parameters

message

message as ArrayBuffer

suspend fun send(message: ArrayBufferView)

sends a new message to the remote endpoint

Parameters

message

message as ArrayBufferView

suspend fun send(message: Blob)

sends a new message to the remote endpoint

Parameters

message

message as Blob