response.sendDate

response.sendDate When true, the Date header will be automatically generated and sent in the response if it is not already present in the headers. Defaults to true. This should only be disabled for testing; HTTP requires the Date header in responses.

tls_server.addContext()

server.addContext(hostname, context) Add secure context that will be used if the client request's SNI hostname matches the supplied hostname (wildcards can be used). context can contain key, cert, ca or any other properties from tls.createSecureContext() options argument.

readable.resume()

Stability: 2 - Stable A stream is an abstract interface implemented by various objects in Node.js. For example a request to an HTTP server is a stream, as is process.stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter. You can load the Stream base classes by doing require('stream'). There are base classes provided for Readable streams, Writable streams, Duplex streams, and Transform streams. This document is split up into 3 sections: The first section e

dgram_socket.close()

socket.close([callback]) Close the underlying socket and stop listening for data on it. If a callback is provided, it is added as a listener for the 'close' event.

diffieHellman.verifyError

diffieHellman.verifyError A bit field containing any warnings and/or errors resulting from a check performed during initialization of the DiffieHellman object. The following values are valid for this property (as defined in constants module): DH_CHECK_P_NOT_SAFE_PRIME DH_CHECK_P_NOT_PRIME DH_UNABLE_TO_CHECK_GENERATOR DH_NOT_SUITABLE_GENERATOR

fs.fstatSync()

fs.fstatSync(fd) Synchronous fstat(2). Returns an instance of fs.Stats.

assert.ifError()

assert.ifError(value) Throws value if value is truthy. This is useful when testing the error argument in callbacks. const assert = require('assert'); assert.ifError(0); // OK assert.ifError(1); // Throws 1 assert.ifError('error') // Throws 'error' assert.ifError(new Error()); // Throws Error

net_server.connections

server.connections Stability: 0 - Deprecated: Use server.getConnections() instead. The number of concurrent connections on the server. This becomes null when sending a socket to a child with child_process.fork(). To poll forks and get current number of active connections use asynchronous server.getConnections instead.

zlib.createDeflateRaw()

zlib.createDeflateRaw(options) Returns a new DeflateRaw object with an options.

fs.futimesSync()

fs.futimesSync(fd, atime, mtime) Synchronous version of fs.futimes(). Returns undefined.