Docs.rs
mcpr-core-0.4.61
mcpr-core 0.4.61
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
cptrodgers
Dependencies
arc-swap ^1
normal
async-trait ^0.1
normal
axum ^0.8
normal
chrono ^0.4
normal
dashmap ^6
normal
futures-util ^0.3
normal
reqwest ^0.12
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.11
normal
tokio ^1
normal
tracing ^0.1
normal
uuid ^1
normal
tempfile ^3
dev
Versions
50%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module forwarding
mcpr_
core
0.4.61
Module forwarding
Module Items
Structs
Enums
Functions
In mcpr_
core::
proxy
mcpr_core
::
proxy
Module
forwarding
Copy item path
Source
Structs
§
Upstream
Client
Shared upstream connection config for forwarding requests.
Enums
§
Read
Body
Error
Reason the upstream body could not be read.
Functions
§
build_
response
Build an axum Response from status, headers, and body.
forward_
request
Send a request to the upstream server, forwarding relevant headers.
read_
body_
capped
Read a response body with a size cap. Returns a typed error on overflow or stream failure — callers produce the appropriate
Response
variant (
Upstream502
) so the failure flows through the response chain like any other upstream problem.