pub fn build(server: &Server) -> Router<State>
Builds the server endpoint routes.
Federation settings select the enabled handlers or disabled responses.