mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-26 07:41:56 +00:00
Remove unnecessary overrides from ZMQWebSocketHandler
This commit is contained in:
parent
bcd31de852
commit
0f6ec24d45
@ -26,15 +26,9 @@ class ZMQWebSocketHandler(WebSocketHandler):
|
||||
log.debug('Received on WebSocket: {}'.format(message))
|
||||
self.send_message(*self.make_response(json.loads(message)))
|
||||
|
||||
def make_response(self, message):
|
||||
raise NotImplementedError
|
||||
|
||||
def send_message(self, message: dict, anchor: str = None):
|
||||
self._event_handler_connector.send_message(message, anchor)
|
||||
|
||||
def on_close(self):
|
||||
pass
|
||||
|
||||
# much secure, very cors, wow
|
||||
def check_origin(self, origin):
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user