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 Destroy the stream.  
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 { T }    
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 { T }    
trailersDistinct NodeJS.Dict<string[]>    
url string | undefined    

Defined in

Last Updated: 21 November, 2024