n4auth/node_modules/@azure/msal-node/dist/network/HttpClient.d.ts

19 lines
644 B
TypeScript
Raw Permalink Normal View History

2021-07-15 20:10:20 +00:00
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