Initial
This commit is contained in:
21
node_modules/@azure/msal-browser/dist/network/FetchClient.d.ts
generated
vendored
Normal file
21
node_modules/@azure/msal-browser/dist/network/FetchClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common/browser";
|
||||
/**
|
||||
* This class implements the Fetch API for GET and POST requests. See more here: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
|
||||
*/
|
||||
export declare class FetchClient implements INetworkModule {
|
||||
/**
|
||||
* Fetch Client for REST endpoints - Get request
|
||||
* @param url
|
||||
* @param headers
|
||||
* @param body
|
||||
*/
|
||||
sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
|
||||
/**
|
||||
* Fetch Client for REST endpoints - Post request
|
||||
* @param url
|
||||
* @param headers
|
||||
* @param body
|
||||
*/
|
||||
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
|
||||
}
|
||||
//# sourceMappingURL=FetchClient.d.ts.map
|
||||
Reference in New Issue
Block a user