Skip to content

Documentation / @super-line/core / RequestDef

Interface: RequestDef

Defined in: packages/core/src/contract.ts:12

A client→server request (request/response). The client sends input; the server validates it, runs the handler, and replies with output. Fire-and-forget signals (no output) are not supported yet.

Properties

input

input: Schema

Defined in: packages/core/src/contract.ts:14

Schema for the request payload the client sends.


output

output: Schema

Defined in: packages/core/src/contract.ts:16

Schema for the reply the server returns.

Released under the MIT License.