How should I actually use hyper as http client?


#1

I read hyper client guides, but I don’t understand
how should I use it in real world program.

I want implement typical scenario - time to time I need request some information via http on remote sever.
According to guide I need run on thread per request, because of tokio_core::reactor::Core::run
stops work after feature that you supply as arguments completes, this is not looks good.

Ideally, I want long running thread to which I can give futures from the main thread,
is it possible some how?