@typespec/ts-http-runtime
Version:
Isomorphic client library for making HTTP requests in node.js and browser.
9 lines • 418 B
TypeScript
import type { PipelineRequest } from "../../interfaces.js";
/**
* Ensures that authentication is only allowed over HTTPS unless explicitly allowed.
* Throws an error if the connection is not secure and not explicitly allowed.
*/
export declare function ensureSecureConnection(request: PipelineRequest, options: {
allowInsecureConnection?: boolean;
}): void;
//# sourceMappingURL=checkInsecureConnection.d.ts.map