jrdh / blorp-python

Client for Blorp which allows socket.io connections to be used from Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add helper functions to the BaseWebsocketHandler for sending messages

jrdh opened this issue · comments

Same as #1 but for sending messages (the real gain here is for sending messages back down the same websocket as currently you have to call

yield from self.app.send_async(self.websocket_id, 'something', {'message': 'Hello, world!'})

even though this is a really common operation to perform in a handler.