Rocket/core
Jeb Rosen 7c34a3a93e Make 'Fairing::on_response' and 'Responder::respond_to' async.
This is required to be able to do anything useful with the body in the
outgoing response. Request fairings do not appear to need to be async
as everything on Data that returns a future moves self and on_request only
gets &Data, but the same change in this commit should work for on_request
if desired.
2020-07-11 09:24:28 -07:00
..
codegen Make 'Fairing::on_response' and 'Responder::respond_to' async. 2020-07-11 09:24:28 -07:00
http Convert core to async and add support for async routes. 2020-07-11 09:24:28 -07:00
lib Make 'Fairing::on_response' and 'Responder::respond_to' async. 2020-07-11 09:24:28 -07:00