Crate simbld_http

Source

Re-exports§

pub use helpers::auth_middleware::AuthMiddleware;
pub use helpers::http_interceptor_helper::HttpInterceptor;
pub use helpers::unified_middleware_helper::UnifiedMiddleware;
pub use mocks::mock_responses::MockResponses;
pub use responses::wrapper::ResponseWrapper;
pub use crate::responses::ResponsesClientCodes;
pub use crate::responses::ResponsesCrawlerCodes;
pub use crate::responses::ResponsesInformationalCodes;
pub use crate::responses::ResponsesLocalApiCodes;
pub use crate::responses::ResponsesRedirectionCodes;
pub use crate::responses::ResponsesServerCodes;
pub use crate::responses::ResponsesServiceCodes;
pub use crate::responses::ResponsesSuccessCodes;

Modules§

helpers
mocks
responses
utils

Macros§

generate_http_response_functions
This Rust code defines a macro generate_http_response_functions that generates response functions for enums implementing the ResponseFunctions trait. Here’s a breakdown of what the macro does:

Traits§

Inflector
IntoEnumIterator
This trait designates that an Enum can be iterated over. It can be auto generated using the EnumIter derive macro.

Derive Macros§

EnumIter
Creates a new type that iterates of the variants of an enum.