// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { agentPolicyName as tspAgentPolicyName, agentPolicy as tspAgentPolicy, } from "@typespec/ts-http-runtime/internal/policies";
/**
 * Name of the Agent Policy
 */
export const agentPolicyName = tspAgentPolicyName;
/**
 * Gets a pipeline policy that sets http.agent
 */
export function agentPolicy(agent) {
    return tspAgentPolicy(agent);
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/31e8d61c448c7472e371505838a0fe34083dad50/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/agentPolicy.js.map