tls.createServer()

tls.createServer(options[, secureConnectionListener]) Creates a new tls.Server. The connectionListener argument is automatically set as a listener for the 'secureConnection' event. The options object may contain the following fields: pfx: A string or Buffer containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. (Mutually exclusive with the key, cert, and ca options.) key: A string or Buffer containing the private key of the server in PEM format. To suppo

process.exit()

process.exit([code]) Ends the process with the specified code. If omitted, exit uses the 'success' code 0. To exit with a 'failure' code: process.exit(1); The shell that executed Node.js should see the exit code as 1.

dns.resolve4()

dns.resolve4(hostname, callback) Uses the DNS protocol to resolve a IPv4 addresses (A records) for the hostname. The addresses argument passed to the callback function will contain an array of IPv4 addresses (e.g. ['74.125.79.104', '74.125.79.105', '74.125.79.106']).

fs.unlink()

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

fs.stat()

fs.stat(path, callback) Asynchronous stat(2). The callback gets two arguments (err, stats) where stats is a fs.Stats object. See the fs.Stats section for more information.

diffieHellman.setPrivateKey()

diffieHellman.setPrivateKey(private_key[, encoding]) Sets the Diffie-Hellman private key. If the encoding argument is provided and is either 'binary', 'hex', or 'base64', private_key is expected to be a string. If no encoding is provided, private_key is expected to be a Buffer.

response.writeContinue()

response.writeContinue() Sends a HTTP/1.1 100 Continue message to the client, indicating that the request body should be sent. See the 'checkContinue' event on Server.

response.getHeader()

response.getHeader(name) Reads out a header that's already been queued but not sent to the client. Note that the name is case insensitive. This can only be called before headers get implicitly flushed. Example: var contentType = response.getHeader('content-type');

http.IncomingMessage

Class: http.IncomingMessage An IncomingMessage object is created by http.Server or http.ClientRequest and passed as the first argument to the 'request' and 'response' event respectively. It may be used to access response status, headers and data. It implements the Readable Stream interface, as well as the following additional events, methods, and properties.

stream.Transform

Class: stream.Transform Transform streams are Duplex streams where the output is in some way computed from the input. They implement both the Readable and Writable interfaces. Examples of Transform streams include: zlib streams crypto streams