Skip to main content

Module server

Module server 

Source
Expand description

The handling side of a bound RPC session.

Server::serve dispatches each incoming request to a handler concurrently with the others, passing it a CallContext used to send the response.

Structsยง

CallContext
Request-scoped services supplied to a server handler.
RequestCancelled
Indicates that a guarded operation was interrupted by request cancellation.
Server
A server endpoint for one connection.
Unbound
A negotiated server endpoint that has not yet been bound to a Protocol.