简体   繁体   中英

Send HTTP request and get response using ZeroMQ

Is there any way to send http request and get response from server.

For Ex. - i want to send request to my http server http://xx.xx.xx.xx , after processing request i need a reply from same server.

How can i achieve this?

You may want to check Zurl : it's a server that makes HTTP requests for you. You talk to Zurl via ZeroMQ (a PUSH socket to submit requests and a SUB socket to retrieve responses), and Zurl backend asynchronously sends HTTP requests and retrieves HTTP replies using libcurl.

For an introduction, see the blog post: "Make HTTP requests over ZeroMQ with Zurl" .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM