"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.agentPolicyName = void 0;
exports.agentPolicy = agentPolicy;
const policies_1 = require("@typespec/ts-http-runtime/internal/policies");
/**
 * Name of the Agent Policy
 */
exports.agentPolicyName = policies_1.agentPolicyName;
/**
 * Gets a pipeline policy that sets http.agent
 */
function agentPolicy(agent) {
    return (0, policies_1.agentPolicy)(agent);
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/31e8d61c448c7472e371505838a0fe34083dad50/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/agentPolicy.js.map