RequestDefinition<Req, Res>: {
    request: ISchema<Req>;
    response: ISchema<Res>;
}

A method's payload shapes: what the caller sends, and what the handler answers with.

Type Parameters

  • Req = any

  • Res = any

Type declaration