Skip to main content

xrpc_routes

Function xrpc_routes 

Source
pub fn xrpc_routes() -> Router<Arc<OAuthState>>
Expand description

The five XRPC read-slice route declarations, as a sub-Router parameterised over Arc<OAuthState>. This is the single source of truth for the XRPC route table — oauth::create_app merges it conditionally on xrpc_read_slice, and tests mount it directly. Changing the URI or handler here changes both.