REST-ful API for 0mq
‘restzzz’ is a tool that is meant to “listen in” on a 0mq connection.
By providing a configuration file, one can specify REST endpoints that listen to a particular 0mq socket.
get: zmq: connect: tcp://127.0.0.1:8002 subject: "" # This is the default value, match all messages weechat: connect: tcp://127.0.0.1:8003 quilt: connect: tcp://some-server:8003 subject: message post: zmq: connect: tcp://127.0.0.1:8002 subject: "/sent/via/restzzz"
This creates three endpoints:
zmq, which can be retrieved from with a GET request and written to with a PUSH request, and
quilt, which can only be read from.
restzzz makes a few assumptions about the sockets it listens to, mainly that it can connect to them and that they follow the PUB/SUB mentality.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|restzzz-0.1.linux-x86_64.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256||any||Dumb Binary||Sep 28, 2014|
|restzzz-0.1-py2-none-any.whl (4.7 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Sep 28, 2014|
|restzzz-0.1-py3-none-any.whl (4.7 kB) Copy SHA256 Checksum SHA256||3.3||Wheel||Sep 28, 2014|
|restzzz-0.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 28, 2014|