v1.1.0
Latest
2021.3+

Class JoinRequest

A request to join a Relay server using a join code.

Inheritance
JoinRequest
Namespace: Unity.Services.Relay.Models
Syntax
[Preserve]
public class JoinRequest

Constructors

JoinRequest(String)

A request to join a Relay server using a join code.

Declaration
[Preserve]
public JoinRequest(string joinCode)
Parameters
TypeNameDescription
StringjoinCode

Join codes are case-insensitive, span six to twelve characters, and are composed only of characters that are in '6789BCDFGHJKLMNPQRTW'. The Allocations service uses join codes to look up the connection data of the host player who created the join code.

Properties

JoinCode

Join codes are case-insensitive, span six to twelve characters, and are composed only of characters that are in '6789BCDFGHJKLMNPQRTW'. The Allocations service uses join codes to look up the connection data of the host player who created the join code.

Declaration
[Preserve]
public string JoinCode { get; }
Property Value
TypeDescription
String