commit | a6edd61db63579041b2b1aac702a5990644e9ec3 | [log] [tgz] |
---|---|---|
author | Viktoriia Kovalova <[email protected]> | Mon May 27 14:07:59 2024 +0000 |
committer | Viktoriia Kovalova <[email protected]> | Fri May 31 13:10:24 2024 +0000 |
tree | 7f97e67a95e82bb703b95f6c617dc27a5b9b05ea | |
parent | 47228740b91c5e30e0f214c5c83f6eb7fd021827 [diff] |
Import 'tower-layer' crate Request Document: go/android-rust-importing-crates For CL Reviewers: go/android3p#cl-review For Build Team: go/ab-third-party-imports Bug: http://b/339177789 Test: m libtower_layer Change-Id: Ie69809a8667e3bad30ea9ee276c6bb0bb1403973
Decorates a Tower Service
, transforming either the request or the response.
Often, many of the pieces needed for writing network applications can be reused across multiple services. The Layer
trait can be used to write reusable components that can be applied to very different kinds of services; for example, it can be applied to services operating on different protocols, and to both the client and server side of a network transaction.
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.