I sometimes need to write small HTTP API applications, but there are so many HTTP server frameworks to choose from. Tried one, confused and lost, and abandoned. So I'm asking here.
I want it to be simple and straight-forward. No fancy auto type conversions, no magic macros. The request handler should (e.g.) accept a request object and return a result of a response object. No fancy argument type for data extraction and no a lot of different tuples for response.
I want it to be complete. Every respect of request information is exposed, not only request headers but also the remote IP, the protocol version in use, etc. Also streaming requests and responses should be ready to use.
And sure, I want it to be async, interoperating well with other async crates.
Thanks! Hyper looks very close to what I want, plus it should be able to listen on UNIX domain sockets (which is good for things like nginx). I thought hyper was very low-level but it seems to be much higher