@thisisagile/easy-test
Version:
Straightforward library for testing microservices built with @thisisagile/easy
15 lines (14 loc) • 428 B
TypeScript
import { Id, Json, JsonValue, OneOrMore, Text } from './Types';
export declare class Req<B = unknown> {
readonly state: any;
readonly skip: number | undefined;
readonly take: number | undefined;
constructor(state?: any);
get id(): Id;
get q(): JsonValue;
get path(): Json;
get query(): Json;
get body(): B;
get headers(): Record<string, OneOrMore<string>>;
get: (key: Text) => any;
}