module.children

module.children <Array> The module objects required by this one.

message.url

message.url Only valid for request obtained from http.Server. Request URL string. This contains only the URL that is present in the actual HTTP request. If the request is: GET /status?name=ryan HTTP/1.1\r\n Accept: text/plain\r\n \r\n Then request.url will be: '/status?name=ryan' If you would like to parse the URL into its parts, you can use require('url').parse(request.url). Example: $ node > require('url').parse('/status?name=ryan') { href: '/status?name=ryan', search: '?name=ryan'

message.trailers

message.trailers The request/response trailers object. Only populated at the 'end' event.

message.statusMessage

message.statusMessage Only valid for response obtained from http.ClientRequest. The HTTP response status message (reason phrase). E.G. OK or Internal Server Error.

message.statusCode

message.statusCode Only valid for response obtained from http.ClientRequest. The 3-digit HTTP response status code. E.G. 404.

message.socket

message.socket The net.Socket object associated with the connection. With HTTPS support, use request.socket.getPeerCertificate() to obtain the client's authentication details.

message.setTimeout()

message.setTimeout(msecs, callback) msecs <Number> callback <Function> Calls message.connection.setTimeout(msecs, callback). Returns message.

message.rawTrailers

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

message.rawHeaders

message.rawHeaders The raw request/response headers list exactly as they were received. Note that the keys and values are in the same list. It is not a list of tuples. So, the even-numbered offsets are key values, and the odd-numbered offsets are the associated values. Header names are not lowercased, and duplicates are not merged. // Prints something like: // // [ 'user-agent', // 'this is invalid because there can be only one', // 'User-Agent', // 'curl/7.22.0', // 'Host', // '12

message.method

message.method Only valid for request obtained from http.Server. The request method as a string. Read only. Example: 'GET', 'DELETE'.