jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Why does web server handler call request and body separately?

Open naturallymitchell opened this issue 5 years ago • 1 comments

https://github.com/foundpatterns/torchbear/blob/2b7737008f925b793dff466dbdd508ece9baacf5/src/bindings/server.rs#L92

naturallymitchell avatar Oct 15 '18 04:10 naturallymitchell

via Arnaud

I can't make sense of that function signature

API documentation for the Rust Resource struct in crate actix_web. I guess it accepts a function that gets something that can be extracted from a request and returns a Responder? API documentation for the Rust FromRequest trait in crate actix_web. API documentation for the Rust Responder trait in crate actix_web.

naturallymitchell avatar Nov 08 '18 21:11 naturallymitchell