UNPKG

736 BTypeScriptView Raw
1import { ProxySettings } from "../serviceClient";
2import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptionsLike } from "./requestPolicy";
3import { HttpOperationResponse } from "../httpOperationResponse";
4import { WebResourceLike } from "../webResource";
5export declare function getDefaultProxySettings(_proxyUrl?: string): ProxySettings | undefined;
6export declare function proxyPolicy(_proxySettings?: ProxySettings): RequestPolicyFactory;
7export declare class ProxyPolicy extends BaseRequestPolicy {
8 constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike);
9 sendRequest(_request: WebResourceLike): Promise<HttpOperationResponse>;
10}
11//# sourceMappingURL=proxyPolicy.browser.d.ts.map
\No newline at end of file