zeromq / zeromq.js

:zap: Node.js bindings to the ØMQ library
http://zeromq.github.io/zeromq.js/
MIT License
1.45k stars 210 forks source link

Proxy class missing capture socket #403

Open justinrcs opened 4 years ago

justinrcs commented 4 years ago

According to the Zeromq API, a capture socket is supposed to be an optional 3rd argument for the ZeroMQ Proxy class (which it was for 5.x): http://api.zeromq.org/4-2:zmq-proxy

This eliminates the ability to monitor or log messages flowing through a proxy.

rolftimmermans commented 4 years ago

Makes sense. A PR would be welcome!