use crate::data::http_request_handler::HttpRequestHandler; use crate::controllers::routes::RequestResult; /// Main server controller /// /// @author Pierre Hubert /// Root server index pub fn main_index(request: &mut HttpRequestHandler) -> RequestResult { request.success("Comunic API server V3. (c) Pierre Hubert 2020") }