Home > @rainway/web > DataChannelMode
DataChannelMode enum
A "reliability mode" for a custom-created data channel, which controls the reliability of the traffic over that channel.
Signature:
export declare enum DataChannelMode
Enumeration Members
Member | Value | Description |
---|---|---|
Reliable | 1 | Use a reliable transport channel: packets will be retransmitted if they go missing, and are guaranteed to be received in the order they were sent in. |
Unreliable | 0 | Use an unreliable transport channel: packets will not be retransmitted if they go missing, and may be received in a different order than they were sent in. |