Expand description
Provides the client route builder.
It assembles client endpoints using the server configuration.
Re-exportsยง
use axum::Router;๐use axum::response::IntoResponse;๐use axum::routing::MethodRouter;๐use axum::routing::any;๐use axum::routing::get;๐use axum::routing::post;๐use axum::routing::put;๐use const_str::concat;๐use const_str::join;๐use const_str::replace;๐use http::HeaderValue;๐use http::header;๐use ruma::api::IncomingRequest;๐use ruma::api::client::message::send_message_event;๐use ruma::api::client::state::send_state_event;๐use ruma::api::path_builder::PathBuilder;๐use tower_http::set_header::SetResponseHeaderLayer;๐use tuwunel_api::router::RouterExt;๐use tuwunel_core::Server;๐use tuwunel_core::err;๐use crate as client;๐use crate::State;๐use crate::put_msc4388_route;๐use crate::send_message_event_or_delayed_route;๐use crate::send_state_event_or_delayed_route;๐use crate::sso_callback_route;๐
Functionsยง
- build
- Builds the client endpoint routes.
- legacy_
media_ ๐disabled - media_
content_ ๐headers - register_
client_ ๐auth_ routes - register_
client_ ๐keys_ and_ backup_ routes - register_
client_ ๐media_ and_ device_ routes - register_
client_ ๐misc_ routes - register_
client_ ๐profile_ and_ data_ routes - register_
client_ ๐room_ routes - register_
client_ ๐state_ and_ sync_ routes - register_
delayed_ ๐event_ routes - register_
legacy_ ๐media_ routes - register_
rendezvous_ ๐routes - route_
paths ๐ - Registers one handler at every path a Ruma request type declares.