|0.3.1||Jan 23, 2021|
|0.3.0||Nov 29, 2019|
|0.3.0-alpha.2||Sep 30, 2019|
|0.3.0-alpha.1||Aug 20, 2019|
|0.0.0||Feb 19, 2018|
#98 in Network programming
609,927 downloads per month
Used in 2,990 crates (70 directly)
Service trait that Tower is based on.
async fn(Request) -> Result<Response, Error>
Service take a request, the type of which varies per
protocol, and returns a future representing the eventual completion or failure
of the response.
Services are used to represent both clients and servers. An instance of
Service is used through a client; a server implements
By using standardizing the interface, middleware can be created. Middleware
Service by passing the request to another
middleware may take actions such as modify the request.
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.