code: def wscall(self, method, query=None, callback=None):
          
          if callback is None:
              self.sock.emit(method, query)
          else:
              self.sock.emitack(method, query, callback)
docs: Submit a request on the websocket