Extends

Properties

P headers: any

Type:
  • any
Inherited From:

P httpVersion: string

Type:
  • string
Inherited From:

P method: string

Only valid for request obtained from http.Server.

Type:
  • string
Inherited From:

P rawHeaders: string[]

Type:
  • Array.<string>
Inherited From:

P rawTrailers: any

Type:
  • any
Inherited From:

P socket: net.Socket

Type:
Inherited From:

P statusCode: number

Only valid for response obtained from http.ClientRequest.

Type:
  • number
Inherited From:

P statusMessage: string

Only valid for response obtained from http.ClientRequest.

Type:
  • string
Inherited From:

P trailers: any

Type:
  • any
Inherited From:

P url: string

Only valid for request obtained from http.Server.

Type:
  • string
Inherited From:

Methods

M setTimeout(msecs: number, callback: function) NodeJS.Timer

Parameters:
Name Type
msecs number
callback function
Inherited From:
Returns: { NodeJS.Timer }
Deprecated:
  • Use IncomingMessage