ClearVision/types/callbacks/BundleCallbacks.d.ts

22 lines
1.0 KiB
TypeScript
Raw Permalink Normal View History

2022-07-09 16:03:26 -04:00
import { BundleLoader } from "../loaders/BundleLoader";
import { IHttpConfig } from "../models/spt/config/IHttpConfig";
import { ILogger } from "../models/spt/utils/ILogger";
import { ConfigServer } from "../servers/ConfigServer";
2022-10-06 23:29:01 -04:00
import { HttpFileUtil } from "../utils/HttpFileUtil";
2022-07-09 16:03:26 -04:00
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
export declare class BundleCallbacks {
protected logger: ILogger;
protected httpResponse: HttpResponseUtil;
2022-10-06 23:29:01 -04:00
protected httpFileUtil: HttpFileUtil;
2022-07-09 16:03:26 -04:00
protected bundleLoader: BundleLoader;
protected configServer: ConfigServer;
protected httpConfig: IHttpConfig;
2022-10-06 23:29:01 -04:00
constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, bundleLoader: BundleLoader, configServer: ConfigServer);
2022-07-09 16:03:26 -04:00
sendBundle(sessionID: string, req: any, resp: any, body: any): any;
2023-09-02 22:34:11 -04:00
/**
* Handle singleplayer/bundles
*/
2022-07-09 16:03:26 -04:00
getBundles(url: string, info: any, sessionID: string): string;
getBundle(url: string, info: any, sessionID: string): string;
}