Structs§
- Inbound
Request - Request
Context - Respond
Token - Only needed if you don’t respond to the request inside your
handlefunction. Seerespond_token. - Response
Capacity Exceeded
Enums§
Traits§
- Request
Endpoint - Request
Endpoint Set - A compile-time set of endpoints, produced by
request_endpoints!; you probably want that macro rather than this trait directly. - Response
Sink
Functions§
- dispatch_
request - Route one request to the handler its
path_hashselects, building theRequestContextover the app’s sharedstateand the runner’s grantsink.RequestEndpointSet::dispatchis a static fn, so the runner dispatches with only&stateand the endpoint-set typeR— noRouterwrapper. - no_
request_ endpoints - The value
request_endpoints!hands back when given no endpoints — the emptyRequestEndpointSet. A named constructor so the macro needn’t expand to a bare(), whichclippy::unused_unitflags at every call site.
Type Aliases§
- Request
Endpoint Id - What a requester names to reach a
RequestEndpoint: the stable hash of itsENDPOINT_IDstring.