cletus/node_modules/@azure/msal-node/dist/utils/NetworkUtils.d.ts
2025-05-09 15:53:19 -05:00

17 lines
No EOL
556 B
TypeScript

import { NetworkResponse } from "@azure/msal-common/node";
export type UrlToHttpRequestOptions = {
protocol: string;
hostname: string;
hash: string;
search: string;
pathname: string;
path: string;
href: string;
port?: number;
auth?: string;
};
export declare class NetworkUtils {
static getNetworkResponse<T>(headers: Record<string, string>, body: T, statusCode: number): NetworkResponse<T>;
static urlToHttpOptions(url: URL): UrlToHttpRequestOptions;
}
//# sourceMappingURL=NetworkUtils.d.ts.map