Created
December 13, 2016 18:07
-
-
Save giulioungaretti/b1e8617be08c2c7940765f4a994dedf4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def proxy(websocket, path): | |
while True: | |
log = await zmqsocket.recv_multipart() | |
await websocket.send(log[1]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment