code: def send(self, msg):
          
          def reconnect(e):
              self.log.error('send error, reconnecting...', exc_info=True)
              self.connect_ensime_server()
              if self.ws:
                  self.ws.send(msg + "\n")
  
          self.log.debug('send: in')
          if self.running and self.ws:
              with catch(websocket.WebSocketException, reconnect):
                  self.log.debug('send: sending JSON on WebSocket')
                  self.ws.send(msg + "\n")
docs: Send something to the ensime server.