n4auth/node_modules/@azure/msal-node/dist/network/HttpClient.d.ts
2021-07-15 23:10:20 +03:00

19 lines
644 B
TypeScript

import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common";
/**
* This class implements the API for network requests.
*/
export declare class HttpClient implements INetworkModule {
/**
* Http Get request
* @param url
* @param options
*/
sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
/**
* Http Post request
* @param url
* @param options
*/
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
}
//# sourceMappingURL=HttpClient.d.ts.map