@zougui/furaffinity
Version:
16 lines • 415 B
TypeScript
export declare class hHttpClient {
fetch: (url: string, config: FetchConfig) => Promise<FetchResult>;
}
export interface FetchConfig {
cookies?: string;
method?: 'GET' | 'POST';
body?: {
[key: string]: string | number | (string | number)[];
};
contentType?: string;
}
export interface FetchResult {
statusCode: number;
body: string;
}
//# sourceMappingURL=HttpClient.d.ts.map