forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
17
electron/node_modules/electron-updater/out/electronHttpExecutor.d.ts
generated
vendored
Normal file
17
electron/node_modules/electron-updater/out/electronHttpExecutor.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/// <reference types="node" />
|
||||
import { DownloadOptions, HttpExecutor } from "builder-util-runtime";
|
||||
import { AuthInfo } from "electron";
|
||||
import { RequestOptions } from "http";
|
||||
import Session = Electron.Session;
|
||||
import ClientRequest = Electron.ClientRequest;
|
||||
export declare type LoginCallback = (username: string, password: string) => void;
|
||||
export declare const NET_SESSION_NAME = "electron-updater";
|
||||
export declare function getNetSession(): Session;
|
||||
export declare class ElectronHttpExecutor extends HttpExecutor<Electron.ClientRequest> {
|
||||
private readonly proxyLoginCallback?;
|
||||
private cachedSession;
|
||||
constructor(proxyLoginCallback?: ((authInfo: AuthInfo, callback: LoginCallback) => void) | undefined);
|
||||
download(url: URL, destination: string, options: DownloadOptions): Promise<string>;
|
||||
createRequest(options: any, callback: (response: any) => void): Electron.ClientRequest;
|
||||
protected addRedirectHandlers(request: ClientRequest, options: RequestOptions, reject: (error: Error) => void, redirectCount: number, handler: (options: RequestOptions) => void): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue