Skip to main content

Crate minco_http

Crate minco_http 

Source
Expand description

Axum/Tower delivery conventions shared by local and Lambda runtimes.

Structs§

ApiFailure
Cursor
CursorPageInfo
HttpHeaderPolicy
Exact browser-request, response-exposure, and diagnostic-redaction policy.
HttpModule
One fully state-bound Axum router contributed by a statically linked plugin.
HttpRuntimeConfig
Principal
ProblemDetails
RequestMetadata
ResourceCollection
ResourceDocument
ResourceListPolicy
ResourceListQuery
SortTerm
StrongEntityTag

Enums§

EntityTagError
HttpCompositionError
HttpConfigurationError
PrincipalError
ResourceQueryError
SortDirection

Statics§

CSRF_HEADER
REQUEST_ID_HEADER

Functions§

apply_standard_middleware
compose_plugin_http
Validates and merges plugin routes, then applies Minco’s standard middleware with an automatically expanded global body ceiling.
merge_plugin_http_modules
Merges every plugin-contributed router in deterministic installation order.
parse_if_match
parse_resource_list_query
principal_from_headers
problem_response
required_header_policy
Returns the application policy plus the exact requirements of installed HTTP modules.
required_request_body_bytes
Returns the global request-body ceiling required by all installed HTTP modules.
validate_plugin_http_modules
Verifies that HTTP contributions and plugin descriptors have an exact operation-ID correspondence.