ServerOpts

external interface ServerOpts(source)

Inheritors

Properties

Link copied to clipboard
abstract var allowHalfOpen: Boolean?

Indicates whether half-opened TCP connections are allowed.

Link copied to clipboard
abstract var blockList: BlockList?

blockList can be used for disabling inbound access to specific IP addresses, IP ranges, or IP subnets. This does not work if the server is behind a reverse proxy, NAT, etc. because the address checked against the block list is the address of the proxy, or the one specified by the NAT.

Link copied to clipboard
abstract var highWaterMark: Double?

Optionally overrides all net.Sockets' readableHighWaterMark and writableHighWaterMark.

Link copied to clipboard
abstract var keepAlive: Boolean?

If set to true, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, similarly on what is done in socket.setKeepAlive([enable][, initialDelay]).

Link copied to clipboard

If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket.

Link copied to clipboard
abstract var noDelay: Boolean?

If set to true, it disables the use of Nagle's algorithm immediately after a new incoming connection is received.

Link copied to clipboard
abstract var pauseOnConnect: Boolean?

Indicates whether the socket should be paused on incoming connections.