Skip to main content

Module boundary

Module boundary 

Source
Expand description

Boundary adapter: converts an axum Request into the opaque RequestContext and dispatches to the macro-generated thunk.

This is the only place in the framework where axum extraction primitives are touched outside of the launch path. assemble_context is the single request→context pipeline — plugin routes (web::plugin_routes) reuse it, so body limits, trace propagation, and credential extraction can never drift between entry points.

Traits§

BoundaryFilter
Pre-body request filter, registered by plugins via ArclyPluginContext::register_boundary_filter.

Functions§

adapt
Wrap a macro-generated route descriptor in an axum MethodRouter. The HTTP method filter is baked in so the caller can drop the result straight into Router::route. Plugin-registered global interceptors compose as the outermost layers around the handler (which already carries any #[UseInterceptors] chain).