Documentation contains example HTTP client, but I see it works in blocking mode:

http_client::response response = client.get(request)

- this call will stop program execution while waiting for server's response. Is it possible to perform multiple concurrent requests with cpp_netlib without spawning multiple threads, as it can be done with ASIO asynchronous sockets? I mean a non-blocking manner, something like this:

1) Create single io_service object
2) Create and initialize client objects set (all attached to io_service object just created)
3) Call io_service.poll()
4) Check client objects for responses received
5) If some responses has not been received yet, then goto step 3




------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to