Libzmq: How can we transform **cleanly** a communication based on HTTP API --> to a message communication using ZMQ library ?

Created on 15 Jul 2019  路  6Comments  路  Source: zeromq/libzmq

Most helpful comment

@smaillns not at the moment.
The websocket transport will be merged soon and you will be able to use that.

I'm thinking of implementing HTTP, but it will take some time.

All 6 comments

Right now there's the ZMQ_STREAM socket type that allows you to talk to a plain TCP server - websocket support is being worked on, see https://github.com/zeromq/libzmq/pull/3579

What about req/rep socket ? can we use ZMQ socket to carry http request ?

@smaillns not at the moment.
The websocket transport will be merged soon and you will be able to use that.

I'm thinking of implementing HTTP, but it will take some time.

Have you any comment or idea about how to implement such an example https://github.com/smaillns/ZMQ_Samples/blob/master/capture.png

I have another serious question.. can we customise any application to use ZeroMQ sockets. i.e make it generic as possible.
Or let's say it differently .. can we imagine a communication layer based on ZMQ messaging system which can be adopted by any application ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

horus42 picture horus42  路  13Comments

prashantabkari picture prashantabkari  路  10Comments

keith-dev picture keith-dev  路  14Comments

ggitau picture ggitau  路  5Comments

nagisa picture nagisa  路  3Comments