Skip to content

Documentation / @super-line/core / ServerRequestDef

Interface: ServerRequestDef

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

A server→client request (request/response). The server sends input; the client's implement handler returns output. Lives in serverToClient alongside events and topics, distinguished by having input.

Properties

input

input: Schema

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

Schema for the request payload the server sends.


output

output: Schema

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

Schema for the reply the client returns.

Released under the MIT License.