Properties
Optional _mws
_mws: string[]
complete
complete: boolean
connection
connection: Socket
destroyed
destroyed: boolean
headers
headers: IncomingHttpHeaders
httpVersion
httpVersion: string
httpVersionMajor
httpVersionMajor: number
httpVersionMinor
httpVersionMinor: number
Optional method
method: undefined | string
Optional preview
preview: undefined | false | true
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: undefined | number
Optional statusMessage
statusMessage: undefined | string
trailers
trailers: Dict<string>
Optional uid
uid: string | number | null
Optional url
url: undefined | string
Optional user
user: any | null
Use
socket
instead.