code: def send_request(self, request):
          
          self.log.debug('send_request: in')
  
          message = {'callId': self.call_id, 'req': request}
          self.log.debug('send_request: %s', Pretty(message))
          self.send(json.dumps(message))
  
          call_id = self.call_id
          self.call_id += 1
          return call_id
docs: Send a request to the server.