HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - Transport\_2.sendArbitraryDatagram()

Home > @rainway/web > Transport_2 > sendArbitraryDatagram

Transport_2.sendArbitraryDatagram() method

Creates an instance of RainwayTransport.

Signature:

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

Parameters

ParameterTypeDescription
labelstring
bodyUint8Array

Returns:

void