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.

http.globalAgent

http.globalAgent Global instance of Agent which is used as the default for all http client requests.

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

dgram_socket.address()

socket.address() Returns an object containing the address information for a socket. For UDP sockets, this object will contain address, family and port properties.

dns.resolveMx()

dns.resolveMx(hostname, callback) Uses the DNS protocol to resolve mail exchange records (MX records) for the hostname. The addresses argument passed to the callback function will contain an array of objects containing both a priority and exchange property (e.g. [{priority: 10, exchange: 'mx.example.com'}, ...]).

dgram_socket.send()

socket.send(msg, [offset, length,] port, address[, callback]) msg <Buffer> | <String> | <Array> Message to be sent offset <Number> Integer. Optional. Offset in the buffer where the message starts. length <Number> Integer. Optional. Number of bytes in the message. port <Number> Integer. Destination port. address <String> Destination hostname or IP address. callback <Function> Called when the message has been sent. Optional. Broadcasts a dat

util.print()

util.print([...]) Stability: 0 - Deprecated: Use console.log() instead. Deprecated predecessor of console.log.

fs.fstatSync()

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

crypto.getCiphers()

crypto.getCiphers() Returns an array with the names of the supported cipher algorithms. Example: const ciphers = crypto.getCiphers(); console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]

SecurePair

Class: SecurePair Returned by tls.createSecurePair.