http_server.timeout

server.timeout <Number> Default = 120000 (2 minutes) The number of milliseconds of inactivity before a socket is presumed to have timed out. Note that the socket timeout logic is set up on connection, so changing this value only affects new connections to the server, not any existing connections. Set to 0 to disable any kind of automatic timeout behavior on incoming connections.

interface.close()

rl.close() Closes the Interface instance, relinquishing control on the input and output streams. The 'close' event will also be emitted.

interface.pause()

rl.pause() Pauses the readline input stream, allowing it to be resumed later if needed. Note that this doesn't immediately pause the stream of events. Several events may be emitted after calling pause, including line.

http_server.listen()

server.listen(handle[, callback]) handle <Object> callback <Function> The handle object can be set to either a server or socket (anything with an underlying _handle member), or a {fd: <n>} object. This will cause the server to accept connections on the specified handle, but it is presumed that the file descriptor or handle has already been bound to a port or domain socket. Listening on a file descriptor is not supported on Windows. This function is asynchronous. The l

http_server.listening

server.listening A Boolean indicating whether or not the server is listening for connections.

http_server.close()

server.close([callback]) Stops the server from accepting new connections. See net.Server.close().

http_server.maxHeadersCount

server.maxHeadersCount Limits maximum incoming headers count, equal to 1000 by default. If set to 0 - no limit will be applied.

https_server.timeout

server.timeout See http.Server#timeout.

https_server.setTimeout()

server.setTimeout(msecs, callback) See http.Server#setTimeout().

https.Server

Class: https.Server This class is a subclass of tls.Server and emits events same as http.Server. See http.Server for more information.