HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

.NET SDK - RainwayRuntime.Connect

RainwayRuntime.Connect method

Connect to another peer on the Rainway Network.

public Task<RainwayPeer> Connect(RainwayPeerId peerId)
parameterdescription
peerIdThe peerId of the peer to connect to.

Return Value

A task that resolves once the peer-to-peer connection is established.

See Also