@azure/core-rest-pipeline
Version:
Isomorphic client library for making HTTP requests in node.js and browser.
14 lines • 522 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { formDataPolicyName as tspFormDataPolicyName, formDataPolicy as tspFormDataPolicy, } from "@typespec/ts-http-runtime/internal/policies";
/**
* The programmatic identifier of the formDataPolicy.
*/
export const formDataPolicyName = tspFormDataPolicyName;
/**
* A policy that encodes FormData on the request into the body.
*/
export function formDataPolicy() {
return tspFormDataPolicy();
}
//# sourceMappingURL=formDataPolicy.js.map