Class HostOptions
Assembly: Libplanet.Net.dll
Syntax
Constructors
|
Improve this Doc
View Source
HostOptions(String, IEnumerable<IceServer>, Int32)
Declaration
public HostOptions(string host, IEnumerable<IceServer> iceServers, int port = 0)
Parameters
Properties
|
Improve this Doc
View Source
Host
The hostname to be a part of a public endpoint that peers may use when
they connect to this node. This is set to null when
a non-empty IceServers is provided.
Declaration
public string Host { get; }
Property Value
|
Improve this Doc
View Source
IceServers
The set of
ICE
servers to use for TURN/STUN to traverse NAT. This is empty when Host
is provided.
Declaration
public IReadOnlyList<IceServer> IceServers { get; }
Property Value
|
Improve this Doc
View Source
Port
The port number to use for the host. If set to zero, a free port will be assigned.
Declaration
Property Value