I would like to send a number of POST requests on http_client from console application. Console has only one thread.
All POST requests are followed by then, but I would want that continuation to execute on another thread, not on the main console thread, which I want to remain reserved for user i/o.
Can you provide a link to, or an example how to do that?
I know that I am expected to create a scheduler and associate it with a new thread, but frankly, the documentation doesn't make it easy to set things up in this way.
All POST requests are followed by then, but I would want that continuation to execute on another thread, not on the main console thread, which I want to remain reserved for user i/o.
Can you provide a link to, or an example how to do that?
I know that I am expected to create a scheduler and associate it with a new thread, but frankly, the documentation doesn't make it easy to set things up in this way.