mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Add missing property boolean followRedirects
Add missing boolean property `followRedirects ` to ServerOptions interface
This commit is contained in:
Vendored
+2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user