The actual port the server is listening on. This is useful if you bound the server specifying 0 as port number signifying an ephemeral port
Like {@link NetServer#close} but supplying a handler that will be notified when close is complete.
Like {@link NetServer#close} but supplying a handler that will be notified when close is complete.
Return the connect stream for this server. The server can only have at most one handler at any one time. As the server accepts TCP or SSL connections it creates an instance of NetSocket and passes it to the connect stream .
Whether the metrics are enabled for this measured object
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#listen} but providing a handler that will be notified when the server is listening, or fails.
Like {@link NetServer#updateSSLOptions} but supplying a handler that will be called when the update happened (or has failed).
Like {@link NetServer#updateSSLOptions} but supplying a handler that will be called when the update happened (or has failed).
Generated using TypeDoc
Represents a TCP server