2022-08-17 02:29:54 -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-12-25 18:45:30 -05:00
|
|
|
import { HttpFileUtil } from "../utils/HttpFileUtil";
|
2022-08-17 02:29:54 -04:00
|
|
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
|
|
|
export declare class BundleCallbacks {
|
|
|
|
protected logger: ILogger;
|
|
|
|
protected httpResponse: HttpResponseUtil;
|
2022-12-25 18:45:30 -05:00
|
|
|
protected httpFileUtil: HttpFileUtil;
|
2022-08-17 02:29:54 -04:00
|
|
|
protected bundleLoader: BundleLoader;
|
|
|
|
protected configServer: ConfigServer;
|
|
|
|
protected httpConfig: IHttpConfig;
|
2022-12-25 18:45:30 -05:00
|
|
|
constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, bundleLoader: BundleLoader, configServer: ConfigServer);
|
2022-08-17 02:29:54 -04:00
|
|
|
sendBundle(sessionID: string, req: any, resp: any, body: any): any;
|
|
|
|
getBundles(url: string, info: any, sessionID: string): string;
|
|
|
|
getBundle(url: string, info: any, sessionID: string): string;
|
|
|
|
}
|