@azure/core-rest-pipeline
Version:
Isomorphic client library for making HTTP requests in node.js and browser.
14 lines • 510 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { tlsPolicy as tspTlsPolicy, tlsPolicyName as tspTlsPolicyName, } from "@typespec/ts-http-runtime/internal/policies";
/**
* Name of the TLS Policy
*/
export const tlsPolicyName = tspTlsPolicyName;
/**
* Gets a pipeline policy that adds the client certificate to the HttpClient agent for authentication.
*/
export function tlsPolicy(tlsSettings) {
return tspTlsPolicy(tlsSettings);
}
//# sourceMappingURL=tlsPolicy.js.map