12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import { HttpClient, HttpResponse } from '../utils/api-request';
- export interface SubRequest {
- url: string;
- body: object;
- headers?: {
- [key: string]: any;
- };
- }
- export declare class BatchRequestClient {
- private readonly httpClient;
- private readonly batchUrl;
- private readonly commonHeaders?;
-
- constructor(httpClient: HttpClient, batchUrl: string, commonHeaders?: object | undefined);
-
- send(requests: SubRequest[]): Promise<HttpResponse[]>;
- private getMultipartPayload;
- }
|