UNPKG

@stuntman/server

Version:

Stuntman - HTTP proxy / mock server with API

10 lines 381 B
import type { Request } from 'express'; export declare class RequestContext { static _bindings: WeakMap<Request, RequestContext>; readonly mockUuid: string; readonly uuid: string; constructor(mockUuid: string); static bind(req: Request, mockUuid: string): void; static get(req: Request): RequestContext | null; } //# sourceMappingURL=requestContext.d.ts.map