You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
I use http_client in multiple threads. and the threads managed by boost.
can I read response with the thread which send it's request?
need I use strand.wrap the callback of asio::async_write and asio::async_read ?
thanks
The text was updated successfully, but these errors were encountered:
Sorry for the late response. I take it you use the async request functions, and then the handlers will be run on the same thread that the client's io_service event processing loop is executed. If you have several event processing loops running on the same io_service, the handlers can run on all the different threads that run the processing loops.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
HI:
I use http_client in multiple threads. and the threads managed by boost.
can I read response with the thread which send it's request?
need I use strand.wrap the callback of asio::async_write and asio::async_read ?
thanks
The text was updated successfully, but these errors were encountered: