UNPKG

694 BTypeScriptView Raw
1import { AgentSettings } from "../serviceClient";
2import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptionsLike } from "./requestPolicy";
3import { HttpOperationResponse } from "../httpOperationResponse";
4import { WebResourceLike } from "../webResource";
5export declare function agentPolicy(agentSettings?: AgentSettings): RequestPolicyFactory;
6export declare class AgentPolicy extends BaseRequestPolicy {
7 agentSettings: AgentSettings;
8 constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike, agentSettings: AgentSettings);
9 sendRequest(request: WebResourceLike): Promise<HttpOperationResponse>;
10}
11//# sourceMappingURL=agentPolicy.d.ts.map
\No newline at end of file