Properties
complete
complete: boolean
connection
connection: Socket
destroyed
destroyed: boolean
headers
headers: IncomingHttpHeaders
httpVersion
httpVersion: string
httpVersionMajor
httpVersionMajor: number
httpVersionMinor
httpVersionMinor: number
Optional method
method: string
Optional preview
preview: boolean
Optional previewData
previewData: any
query
query: {}
Type declaration
-
[key: string]: string | string[]
rawHeaders
rawHeaders: string[]
rawTrailers
rawTrailers: string[]
readable
readable: boolean
Readonly readableEncoding
readableEncoding: BufferEncoding | null
Readonly readableEnded
readableEnded: boolean
Readonly readableFlowing
readableFlowing: boolean | null
Readonly readableHighWaterMark
readableHighWaterMark: number
Readonly readableLength
readableLength: number
Readonly readableObjectMode
readableObjectMode: boolean
Optional statusCode
statusCode: number
Optional statusMessage
statusMessage: string
trailers
trailers: Dict<string>
Use
socket
instead.