NetServerOptions

Options for configuring a link.
Name Type Description

sendBufferSize

Number

Set the TCP send buffer size

receiveBufferSize

Number

Set the TCP receive buffer size

reuseAddress

Boolean

Set the value of reuse address

trafficClass

Number

Set the value of traffic class

tcpNoDelay

Boolean

Set whether TCP no delay is enabled

tcpKeepAlive

Boolean

Set whether TCP keep alive is enabled

soLinger

Number

Set whether SO_linger keep alive is enabled

usePooledBuffers

Boolean

Set whether Netty pooled buffers are enabled

idleTimeout

Number

-

ssl

Boolean

Set whether SSL/TLS is enabled

keyStoreOptions

JksOptions

Set the key/cert options in jks format, aka Java keystore.

pfxKeyCertOptions

PfxOptions

Set the key/cert options in pfx format.

pemKeyCertOptions

PemKeyCertOptions

Set the key/cert store options in pem format.

trustStoreOptions

JksOptions

Set the trust options in jks format, aka Java trustore

pfxTrustOptions

PfxOptions

Set the trust options in pfx format

pemTrustOptions

PemTrustOptions

Set the trust options in pem format

enabledCipherSuites

Array of String

Add an enabled cipher suite

crlPaths

Array of String

Add a CRL path

acceptBacklog

Number

Set the accept back log

port

Number

Set the port

host

String

Set the host

clientAuthRequired

Boolean

Set whether client auth is required