mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-08 14:05:15 +00:00
20 lines
712 B
TypeScript
20 lines
712 B
TypeScript
|
|
||
|
export type SPHttpClientConfiguration = any;
|
||
|
export type ISPHttpClientOptions = any;
|
||
|
export type SPHttpClientResponse = any;
|
||
|
|
||
|
export class SPHttpClient {
|
||
|
public static readonly configurations: any;
|
||
|
|
||
|
public async fetch(url: string, configuration: SPHttpClientConfiguration, options: ISPHttpClientOptions): Promise<SPHttpClientResponse> {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public async get(url: string, configuration: SPHttpClientConfiguration, options?: ISPHttpClientOptions): Promise<SPHttpClientResponse> {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public async post(url: string, configuration: SPHttpClientConfiguration, options: ISPHttpClientOptions): Promise<SPHttpClientResponse> {
|
||
|
return null;
|
||
|
}
|
||
|
}
|