v1.0.0
Latest
2022.3+
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.
Inheritance
System.Object
RelayService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Relay
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 |