Struct RelayServerData
Used by the Relay Protocol to describe how to connect to the Relay Service.
Inherited Members
Namespace: Unity.Networking.Transport.Relay
Assembly: solution.dll
Syntax
public struct RelayServerData
Constructors
Name | Description |
---|---|
Relay |
Create a new Relay server data structure. |
Relay |
Initializes a new instance of the Relay |
Relay |
Initializes a new instance of the Relay |
Fields
Name | Description |
---|---|
Allocation |
The unique identifier of the client on the Relay Server. |
Connection |
The data that describes the client presence on the Relay Server. |
Endpoint | The endpoint of the Relay Server. |
HMAC | The computed HMAC. |
HMACKey | The HMAC key for the connection. |
Host |
The connection data of the host client on the Relay Server. |
Is |
A byte that identifies the connection as secured. |
Nonce | The Nonce value used to stablish the connection with the Relay Server. |
Methods
Name | Description |
---|---|
Compute |
Computes the new nonce, this must be called one time! |