fix bugs related no_proxy and ports: 1) https://foo.com should match no_proxy=foo.com:443 and 2) https://foo.com:8080 should match no_proxy=foo.com

This commit is contained in:
eric sciple
2020-01-22 23:09:35 -05:00
parent 9e8142913f
commit d745dd984c
4 changed files with 138 additions and 61 deletions

View File

@@ -46,3 +46,10 @@ export interface IRequestOptions {
allowRetries?: boolean;
maxRetries?: number;
}
export interface IProxySettings {
readonly proxyUrl: string
readonly bypass: string[]
getProxyUrl(serverUrl): string
}