Skip to main content

Unity.Networking.Transport.Relay.RelayNetworkParameter

Relay protocol network parementers used to connect to the Unity Relay service. This data must be provided to the Create(INetworkParameter[]) function in order to be able to use connect to Relay.

Implements#

INetworkParameter

Inherited Members#

ValueType.Equals(Object)

ValueType.GetHashCode()

ValueType.ToString()

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct RelayNetworkParameter : INetworkParameter

RelayConnectionTimeMS#

The timeout in milliseconds after which a ping message is sent to the Relay Server to keep the connection alive.

Declaration#

public int RelayConnectionTimeMS

Field Value#

TypeDescription
System.Int32

ServerData#

The data that is used to describe the connection to the Relay Server.

Declaration#

public RelayServerData ServerData

Field Value#

TypeDescription
RelayServerData

Implements#

INetworkParameter