Skip to main content

sendToClient

Summary

Send a payload to the client identified by clientId.

Signature

Parameters

clientId

Type:number number — numeric client identifier.

data

Type:Uint8Array Uint8Array — payload bytes.

Returns

Type:void Send a payload to the client identified by .