Home > @rainway/web > RTCTransport_2 > createDataChannel
RTCTransport_2.createDataChannel() method
Signature:
createDataChannel(label: string, mode: DataChannelMode): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
label | string | |
mode | DataChannelMode |
Returns:
Promise<void>