-
- Downloads
Implement Tower Shims for SDK middleware (#187)
* Implement Tower Shims for SDK middleware This commit implements 3 pieces of tower middleware: 1. A tower service supporting smithy_http::middleware::MapRequest 2. A tower service to dispatch operation::Request 3. A tower service to dispatch & parse the results of `operation::Operation` * Fix clippy lints * Go back to default debug implementation * Check docs in rust-runtime test script * Make Dispatch layer non-exhaustive * Derive default for DispatchLayer
Showing
- rust-runtime/smithy-http-tower/Cargo.toml 20 additions, 0 deletionsrust-runtime/smithy-http-tower/Cargo.toml
- rust-runtime/smithy-http-tower/src/dispatch.rs 87 additions, 0 deletionsrust-runtime/smithy-http-tower/src/dispatch.rs
- rust-runtime/smithy-http-tower/src/lib.rs 109 additions, 0 deletionsrust-runtime/smithy-http-tower/src/lib.rs
- rust-runtime/smithy-http-tower/src/map_request.rs 89 additions, 0 deletionsrust-runtime/smithy-http-tower/src/map_request.rs
- rust-runtime/smithy-http-tower/src/parse_response.rs 95 additions, 0 deletionsrust-runtime/smithy-http-tower/src/parse_response.rs
- rust-runtime/smithy-http/src/body.rs 2 additions, 0 deletionsrust-runtime/smithy-http/src/body.rs
- rust-runtime/smithy-http/src/operation.rs 3 additions, 1 deletionrust-runtime/smithy-http/src/operation.rs
- rust-runtime/test.sh 1 addition, 0 deletionsrust-runtime/test.sh
Loading
Please register or sign in to comment