UNPKG

@n1k1t/mock-server

Version:

The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations

19 lines 642 B
import { Endpoint, Executor, IRequestContextOutgoing } from '../../../models'; import { SystemSocketIoRequestContext } from './context'; type TEndpoint = Endpoint<{ locations: { io: { path: string; }; }; incoming: any; outgoing: any; }>; export declare class SystemSocketIoExecutor extends Executor<SystemSocketIoRequestContext> { endpoints: Record<string, TEndpoint>; exec(context: SystemSocketIoRequestContext): Promise<SystemSocketIoRequestContext<unknown>>; forward(): Promise<null>; reply(): Promise<IRequestContextOutgoing>; } export {}; //# sourceMappingURL=executor.d.ts.map