Struct Server.Config
Config options for running the server.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Pigeoneer
Assembly: Trail.dll
Syntax
public struct Config
Fields
APIToken
Your API token. Needed for UDP transfer. Optional.
Declaration
public string APIToken
Field Value
Type | Description |
---|---|
System.String |
Port
The port on which to listen to
Declaration
public ushort Port
Field Value
Type | Description |
---|---|
System.UInt16 |
SSLCertFilename
The filename of the SSL public certificate. Optional.
Declaration
public string SSLCertFilename
Field Value
Type | Description |
---|---|
System.String |
SSLKeyFilename
The filename of the SSL private key. Optional.
Declaration
public string SSLKeyFilename
Field Value
Type | Description |
---|---|
System.String |
Methods
CreateFromCommandLineArgs()
This will attempt to create a config file from the command line arguments. -port={number} -sslcert={path} -sslkey={path} -token={string}
Declaration
public static Server.Config CreateFromCommandLineArgs()
Returns
Type | Description |
---|---|
Server.Config |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()