From 7ebd1ec80e3ad0e92ff2a6b8b73909645c646157 Mon Sep 17 00:00:00 2001 From: Luis Stanley Jovel Date: Mon, 14 May 2018 16:17:53 -0600 Subject: [PATCH] Add missing property boolean `selfHandleResponse` Add missing boolean property `selfHandleResponse` to ServerOptions interface --- types/http-proxy/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/http-proxy/index.d.ts b/types/http-proxy/index.d.ts index fb7eb26abc..2560b0a38d 100644 --- a/types/http-proxy/index.d.ts +++ b/types/http-proxy/index.d.ts @@ -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; } }