dhttp/core/mod.rs
1//! Core traits
2
3mod service;
4pub use service::{HttpService, HttpServiceRaw};
5mod error;
6pub use error::{HttpError, HttpErrorType};
7mod logger;
8pub use logger::HttpLogger;
9mod errorhandler;
10pub use errorhandler::HttpErrorHandler;
11pub mod connection;
12pub use connection::HttpRead;
13
14use crate::reqres::HttpResponse;
15/// Result for [`HttpService`]
16pub type HttpResult<T = HttpResponse> = Result<T, Box<dyn HttpError>>;