NetworkOptions

Undocumented in source.

Members

Static functions

init
void init()
Undocumented in source. Be warned that the author may not have intended to support it.
setKnob
void setKnob(string value)

Set internal tuning or debugging knobs

setTlsCertBytes
void setTlsCertBytes(ubyte[] value)

Set the certificate chain

setTlsCertPath
void setTlsCertPath(string value)

Set the file from which to load the certificate chain

setTlsKeyBytes
void setTlsKeyBytes(ubyte[] value)

Set the private key corresponding to your own certificate

setTlsKeyPath
void setTlsKeyPath(string value)

Set the file from which to load the private key corresponding to your own certificate

setTlsPlugin
void setTlsPlugin(string value)

Set the TLS plugin to load. This option, if used, must be set before any other TLS options

setTlsVerifyPeers
void setTlsVerifyPeers(ubyte[] value)

Set the peer certificate field verification criteria

setTraceEnable
void setTraceEnable(string value)

Enables trace output to a file in a directory of the clients choosing

setTraceMaxLogSize
void setTraceMaxLogSize(long value)

Sets the maximum size of a all the trace output files put together. This value should be in the range `[0, long.max]`. If the value is set to 0, there is no limit on the total size of the files. The default is a maximum size of 104,857,600 bytes. If the default roll size is used, this means that a maximum of 10 trace files will be written at a time.

setTraceRollSize
void setTraceRollSize(long value)

Sets the maximum size in bytes of a single trace output file. This value should be in the range `[0, long.max]`. If the value is set to 0, there is no limit on individual file size. The default is a maximum size of 10,485,760 bytes.

Meta