增加response原生对象属性
parent
cfb8c7d553
commit
1a16c23ced
|
@ -1,9 +1,11 @@
|
|||
import { IncomingMessage, ServerResponse } from 'http'
|
||||
|
||||
export default class Response {
|
||||
constructor(req: IncomingMessage, res: ServerResponse)
|
||||
|
||||
status: number
|
||||
|
||||
constructor(req: IncomingMessage, res: ServerResponse)
|
||||
get response(): ServerResponse
|
||||
|
||||
get ended(): boolean
|
||||
|
||||
|
|
Loading…
Reference in New Issue