1 |
|
2 | import { CancellationToken, DownloadOptions, HttpExecutor } from "electron-builder-http";
|
3 | import { ClientRequest, RequestOptions } from "http";
|
4 | export declare class NodeHttpExecutor extends HttpExecutor<ClientRequest> {
|
5 | private httpsAgentPromise;
|
6 | download(url: string, destination: string, options?: DownloadOptions): Promise<string>;
|
7 | doApiRequest<T>(options: RequestOptions, cancellationToken: CancellationToken, requestProcessor: (request: ClientRequest, reject: (error: Error) => void) => void, redirectCount?: number): Promise<T>;
|
8 | protected doRequest(options: any, callback: (response: any) => void): any;
|
9 | }
|
10 | export declare const httpExecutor: NodeHttpExecutor;
|
11 |
|
\ | No newline at end of file |