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.setTimeout()

server.setTimeout(msecs, callback) msecs <Number> callback <Function> Sets the timeout value for sockets, and emits a 'timeout' event on the Server object, passing the socket as an argument, if a timeout occurs. If there is a 'timeout' event listener on the Server object, then it will be called with the timed-out socket as an argument. By default, the Server's timeout value is 2 minutes, and sockets are destroyed automatically if they time out. However, if you assign a callb

Interface

Class: Interface The class that represents a readline interface with an input and output stream.

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.

http_server.listening

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

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

https.request()

https.request(options, callback) Makes a request to a secure web server. options can be an object or a string. If options is a string, it is automatically parsed with url.parse(). All options from http.request() are valid. Example: const https = require('https'); var options = { hostname: 'encrypted.google.com', port: 443, path: '/', method: 'GET' }; var req = https.request(options, (res) => { console.log('statusCode: ', res.statusCode); console.log('headers: ', res.headers

https_server.setTimeout()

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

https_server.timeout

server.timeout See http.Server#timeout.