Expand description
Request context providing access to connection metadata and extensions.
RequestContext is passed to all service handlers and provides access to:
- The underlying Iroh connection
- Connection type monitoring (direct vs relay)
- Three-tier extension system (server/connection/request)
- Remote peer information
- Graceful shutdown notifications
See RequestContext for usage examples.
Structsยง
- Request
Context - Context provided to each RPC and subscription handler.