Skip to main content

router

Function router 

Source
pub fn router(operator: Arc<Operator>) -> Router
Expand description

The operator auth routes. Setup has its own Origin rule; the rest are browser routes (kernel spec §3.3). Serve with ConnectInfo<SocketAddr>: the address policy resolves the limiter key from that peer, never identity.