mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 06:19:24 +08:00
Add missing property boolean selfHandleResponse
Add missing boolean property `selfHandleResponse` to ServerOptions interface
This commit is contained in:
committed by
GitHub
parent
00bedbf8df
commit
7ebd1ec80e
2
types/http-proxy/index.d.ts
vendored
2
types/http-proxy/index.d.ts
vendored
@@ -207,6 +207,8 @@ declare namespace Server {
|
||||
headers?: {[header: string]: string};
|
||||
/** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */
|
||||
proxyTimeout?: number;
|
||||
/** If set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event */
|
||||
selfHandleResponse?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user