.NET SDK - RainwayConfig.OnPeerDataChannel

RainwayConfig.OnPeerDataChannel property

Called when a peer requests to open a new data channel.

public Action<RainwayRuntime, RainwayPeer, string, bool>? OnPeerDataChannel { get; set; }

See Also