HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - RTCTransport\_2.sendArbitraryDatagram()

Home > @rainway/web > RTCTransport_2 > sendArbitraryDatagram

RTCTransport_2.sendArbitraryDatagram() method

Signature:

sendArbitraryDatagram(label: string, body: Uint8Array): void;

Parameters

ParameterTypeDescription
labelstring
bodyUint8Array

Returns:

void