StringDecoder

Class: StringDecoder Accepts a single argument, encoding which defaults to 'utf8'.

buffer.writeInt32BE()

buf.writeInt32BE(value, offset[, noAssert])

process.connected

process.connected <Boolean> Set to false after process.disconnect() is called If process.connected is false, it is no longer possible to send messages.

agent.freeSockets

agent.freeSockets An object which contains arrays of sockets currently awaiting use by the Agent when HTTP KeepAlive is used. Do not modify.

readline.clearLine()

readline.clearLine(stream, dir) Clears current line of given TTY stream in a specified direction. dir should have one of following values: -1 - to the left from cursor 1 - to the right from cursor 0 - the entire line

stream.Duplex

Class: stream.Duplex Duplex streams are streams that implement both the Readable and Writable interfaces. Examples of Duplex streams include: TCP sockets zlib streams crypto streams

upgrade event (http.Server)

Event: 'upgrade' function (request, socket, head) { } Emitted each time a client requests a http upgrade. If this event isn't listened for, then clients requesting an upgrade will have their connections closed. request is the arguments for the http request, as it is in the request event. socket is the network socket between the server and client. head is an instance of Buffer, the first packet of the upgraded stream, this may be empty. After this event is emitted, the request's socket wi

fs.fstat()

fs.fstat(fd, callback) Asynchronous fstat(2). The callback gets two arguments (err, stats) where stats is a fs.Stats object. fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor fd.

tlsSocket.remoteAddress

tlsSocket.remoteAddress The string representation of the remote IP address. For example, '74.125.127.100' or '2001:4860:a005::68'.

error event (Worker)

Event: 'error' This event is the same as the one provided by child_process.fork(). In a worker you can also use process.on('error').