Closed radu-matei closed 2 years ago
This commit implements From<http::Response> for Response, making it much easier to consume responses.
From<http::Response> for Response
Instead of breaking the current API, it adds a new function, send_request, which directly returns a formed http::Response.
send_request
http::Response
Signed-off-by: Radu Matei radu.matei@fermyon.com
This commit implements
From<http::Response> for Response
, making it much easier to consume responses.Instead of breaking the current API, it adds a new function,
send_request
, which directly returns a formedhttp::Response
.Signed-off-by: Radu Matei radu.matei@fermyon.com