o_sfu/runtime/http_server/rooms/mod.rs
1//! Room control routes with authenticated inputs and bounded disconnect bodies.
2
3use axum::Router;
4
5use super::contract::route;
6use crate::runtime::RuntimeState;
7
8mod create;
9mod disconnect;
10
11pub(super) fn routes() -> Router<RuntimeState> {
12 Router::new()
13 .route(route::v1::CHANNEL, create::route())
14 .route(route::v1::DISCONNECT, disconnect::route())
15}