child_process.fork()

child_process.fork(modulePath[, args][, options]) modulePath <String> The module to run in the child args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs execPath <String> Executable used to create the child process execArgv <Array> List of string arguments passed to the executable (Default: process.execArgv) silent <Boolean> If true, std

zlib.createGzip()

zlib.createGzip(options) Returns a new Gzip object with an options.

agent.destroy()

agent.destroy() Destroy any sockets that are currently in use by the agent. It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, sockets may hang open for quite a long time before the server terminates them.

process.stdin

process.stdin A Readable Stream for stdin (on fd 0). Example of opening standard input and listening for both events: process.stdin.setEncoding('utf8'); process.stdin.on('readable', () => { var chunk = process.stdin.read(); if (chunk !== null) { process.stdout.write(`data: ${chunk}`); } }); process.stdin.on('end', () => { process.stdout.write('end'); }); As a Stream, process.stdin can also be used in "old" mode that is compatible with scripts written for node.js prior to v

message.rawTrailers

message.rawTrailers The raw request/response trailer keys and values exactly as they were received. Only populated at the 'end' event.

fs.closeSync()

fs.closeSync(fd) Synchronous close(2). Returns undefined.

tlsSocket.getEphemeralKeyInfo()

tlsSocket.getEphemeralKeyInfo() Returns an object representing the type, name, and size of parameter of an ephemeral key exchange in Perfect Forward Secrecy on a client connection. It returns an empty object when the key exchange is not ephemeral. As this is only supported on a client socket, it returns null if called on a server socket. The supported types are 'DH' and 'ECDH'. The name property is only available in 'ECDH'. Example: { type: 'ECDH', name: 'prime256v1', size: 256 }

SyntaxError

Class: SyntaxError A subclass of Error that indicates that a program is not valid JavaScript. These errors may only be generated and propagated as a result of code evaluation. Code evaluation may happen as a result of eval, Function, require, or vm. These errors are almost always indicative of a broken program. try { require('vm').runInThisContext('binary ! isNotOk'); } catch(err) { // err will be a SyntaxError } SyntaxError instances are unrecoverable in the context that created them – th

OCSPRequest event (tls.Server)

Event: 'OCSPRequest' function (certificate, issuer, callback) { } Emitted when the client sends a certificate status request. The server's current certificate can be parsed to obtain the OCSP URL and certificate ID; after obtaining an OCSP response callback(null, resp) is then invoked, where resp is a Buffer instance. Both certificate and issuer are Buffer DER-representations of the primary and issuer's certificates. They can be used to obtain the OCSP certificate ID and OCSP endpoint URL. Al

dgram_socket.addMembership()

socket.addMembership(multicastAddress[, multicastInterface]) multicastAddress <String> multicastInterface <String>, Optional Tells the kernel to join a multicast group at the given multicastAddress using the IP_ADD_MEMBERSHIP socket option. If the multicastInterface argument is not specified, the operating system will try to add membership to all valid networking interfaces.