Class RelayService
The entry class of the Relay Allocations Service enables clients to connect to relay servers. Once connected, they are able to communicate with each other, via the relay servers, using the bespoke relay binary protocol.
Inherited Members
Namespace: Unity.Services.Relay
Assembly: Unity.Services.Multiplayer.dll
Syntax
public static class RelayService
Properties
Instance
A static instance of the Relay Allocation Client.
Declaration
public static IRelayService Instance { get; }
Property Value
Type | Description |
---|---|
IRelayService |