HttpServerRequest Interface

Deprecated  in 3.6. The RPC system will be significantly refactored (or replaced) in the future.

An HTTP server request object.

Extends

Methods

Name Description
destroy(error?: Error): this    
setTimeout(msecs: number, callback: () => void): void    
setTimeout(msecs: number, callback: () => void): this    

Properties

Name Type Description
aborted boolean    
body string | __global.Buffer    
complete boolean    
connection any    
header (field: string) => undefined | string    
headers [header: string]: string | string[] | undefined    
headersDistinct NodeJS.Dict<string[]>    
httpVersion string    
httpVersionMajor number    
httpVersionMinor number    
ip string | undefined    
method string    
path string    
rawHeaders string[]    
rawTrailers string[]    
socket any    
statusCode number | undefined    
statusMessage string | undefined    
trailers [key: string]: string | undefined    
trailersDistinct NodeJS.Dict<string[]>    
url string | undefined    

Defined in

Last Updated: 13 May, 2024