Home > @rainway/web > RTCTransport_2
RTCTransport_2 class
A WebRTC-based transport implementation.
Signature:
export declare class RTCTransport extends Transport
Extends: Transport
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the RTCTransport class.
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| handlePeerInfo | (peerInfo: IPeerSignalingInformation) => void | ||
| maxMessageSize | number | ||
| onApplicationMessage | (channel: string, data: Uint8Array) => void | ||
| onClose | () => void | ||
| onRainwayMessage | (data: IRainwayMessage) => void | ||
| status | TransportStatus |
