Add missing property boolean followRedirects

Add missing boolean property `followRedirects ` to ServerOptions interface
This commit is contained in:
Jordan Abreu
2019-03-01 15:13:04 -08:00
committed by GitHub
parent 42a1e37cf5
commit 328c85b59a
+2
View File
@@ -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;
/** Specify whether you want to follow redirects. Default: false */
followRedirects?: boolean;
/** 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;
}