Skip to main content

Module transport

Module transport 

Source
Expand description

Transport-binding wire shapes shared by every generator (REST, RPC) and every server emitter.

Structs§

OpDescriptor
Wire-shape of a single op in a transport rpc schema. See docs/design/rpc-transport.md for the full design — in short, an op is the dispatch unit shared by every RPC binding (HTTP unary, HTTP batch, HTTP stream, WebSocket). The macro emits one OpDescriptor per CRUD verb and per procedure when Schema.transport == TransportStyle::Rpc.
RouteTransportCapabilities
Wire-level capabilities for one route under a REST binding.
RouteTransportDescriptor

Enums§

OpKind

Functions§

canonical_request_string
Canonical string assembled by the envelope signing path: METHOD\nPATH\nQUERY\nCONTENT-TYPE\nbody-hex. Both seal and verify reconstruct the same string from the same inputs.