Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestContext

请求上下文

Hierarchy

  • RequestContext

Indexable

[extra: string]: any

可选属性

Index

Properties

Optional body

body: any

响应内容

finished

finished: boolean

请求是否已结束

req

req: IncomingMessage

当前请求对象

res

res: ServerResponse

当前响应对象

statusCode

statusCode: number

状态码

type

type: string

响应类型

writable

writable: boolean

是否可写

Generated using TypeDoc