UNPKG

@n1k1t/mock-server

Version:

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

10 lines 507 B
import type { SystemSocketIoRequestContext } from './context'; import { Reply } from '../../../models'; export declare class SystemSocketIoReply<TOutgoing = unknown> extends Reply<SystemSocketIoRequestContext, TOutgoing> { ok(payload: TOutgoing): void; internalError(message?: string): void; validationError(reasons?: unknown[]): void; notFound(): void; static build<TResponse>(context: SystemSocketIoRequestContext): SystemSocketIoReply<TResponse>; } //# sourceMappingURL=reply.d.ts.map