Skip to main content

Crate baijimu_cmodel_actix

Crate baijimu_cmodel_actix 

Source

Structs§

ActixCModelResponse
ActixPreservedError

Functions§

cmodel_request_context
Install using .wrap(actix_web::middleware::from_fn(cmodel_request_context)). Only bounded, valid header values are propagated; query strings are never logged.
configure_cmodel_extractors
Register structured extraction failures for JSON, query and path parameters. The caller owns the error code. Configure both public and management apps.
json_config
The returned config can also be customized with a service-specific body limit.
path_config
query_config