Struct RelayServerData
Connection information about the relay server.
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 |
Create a new Relay server data structure. |
Relay |
|
Relay |
Create a new Relay server data structure (low-level constructor). |
Fields
Name | Description |
---|---|
Allocation |
Allocation ID for the server connection. |
Connection |
Connection data of the allocation. |
Endpoint | Endpoint the relay server can be reached on. |
HMACKey | HMAC key used to authentify the connection. |
Host |
Connection data of the host. |
Is |
Whether the connection is using a secure protocol or not. |
Is |
Whether the connection is using the WebSocket protocol. |
Nonce | Nonce that will be used in the connection handshake. |
Methods
Name | Description |
---|---|
Increment |
Increment the nonce and recompute the HMAC. |