Spaces:
Sleeping
Sleeping
| import { l as HttpRequestEventMap, r as Interceptor } from "./Interceptor-soD-WpQO.mjs"; | |
| import { t as BatchInterceptor } from "./BatchInterceptor-rSr-NH_H.mjs"; | |
| import { t as ClientRequestInterceptor } from "./index-DfoF45ih.mjs"; | |
| import { XMLHttpRequestInterceptor } from "./interceptors/XMLHttpRequest/index.mjs"; | |
| import { FetchInterceptor } from "./interceptors/fetch/index.mjs"; | |
| import { ChildProcess } from "child_process"; | |
| //#region src/RemoteHttpInterceptor.d.ts | |
| interface SerializedRequest { | |
| id: string; | |
| url: string; | |
| method: string; | |
| headers: Array<[string, string]>; | |
| credentials: RequestCredentials; | |
| body: string; | |
| } | |
| interface SerializedResponse { | |
| status: number; | |
| statusText: string; | |
| headers: Array<[string, string]>; | |
| body: string; | |
| } | |
| declare class RemoteHttpInterceptor extends BatchInterceptor<[ClientRequestInterceptor, XMLHttpRequestInterceptor, FetchInterceptor]> { | |
| constructor(); | |
| protected setup(): void; | |
| } | |
| declare function requestReviver(key: string, value: any): any; | |
| interface RemoveResolverOptions { | |
| process: ChildProcess; | |
| } | |
| declare class RemoteHttpResolver extends Interceptor<HttpRequestEventMap> { | |
| static symbol: symbol; | |
| private process; | |
| constructor(options: RemoveResolverOptions); | |
| protected setup(): void; | |
| } | |
| //#endregion | |
| export { RemoteHttpInterceptor, RemoteHttpResolver, RemoveResolverOptions, SerializedRequest, SerializedResponse, requestReviver }; | |
| //# sourceMappingURL=RemoteHttpInterceptor.d.mts.map |