checkExpectation event (http.ClientRequest)

Event: 'checkExpectation' function (request, response) { } Emitted each time a request with an http Expect header is received, where the value is not 100-continue. If this event isn't listened for, the server will automatically respond with a 417 Expectation Failed as appropriate. Note that when this event is emitted and handled, the request event will not be emitted.

net_server.getConnections()

server.getConnections(callback) Asynchronously get the number of concurrent connections on the server. Works when sockets were sent to forks. Callback should take two arguments err and count.

Buffer.isBuffer()

Class Method: Buffer.isBuffer(obj) obj <Object> Return: <Boolean> Returns 'true' if obj is a Buffer.

diffieHellman.getPrime()

diffieHellman.getPrime([encoding]) Returns the Diffie-Hellman prime in the specified encoding, which can be 'binary', 'hex', or 'base64'. If encoding is provided a string is returned; otherwise a Buffer is returned.

beforeExit event (Process)

Event: 'beforeExit' This event is emitted when Node.js empties its event loop and has nothing else to schedule. Normally, Node.js exits when there is no work scheduled, but a listener for 'beforeExit' can make asynchronous calls, and cause Node.js to continue. 'beforeExit' is not emitted for conditions causing explicit termination, such as process.exit() or uncaught exceptions, and should not be used as an alternative to the 'exit' event unless the intention is to schedule more work.

fs.fdatasync()

fs.fdatasync(fd, callback) Asynchronous fdatasync(2). No arguments other than a possible exception are given to the completion callback.

fs.lstatSync()

fs.lstatSync(path) Synchronous lstat(2). Returns an instance of fs.Stats.

fs.readlinkSync()

fs.readlinkSync(path) Synchronous readlink(2). Returns the symbolic link's string value.

fs.writeSync()

fs.writeSync(fd, buffer, offset, length[, position])

net.createServer()

net.createServer([options][, connectionListener]) Creates a new server. The connectionListener argument is automatically set as a listener for the 'connection' event. options is an object with the following defaults: { allowHalfOpen: false, pauseOnConnect: false } If allowHalfOpen is true, then the socket won't automatically send a FIN packet when the other end of the socket sends a FIN packet. The socket becomes non-readable, but still writable. You should call the end() method explicitl