code: def sendRequest(self, name, args):
          
          (respEvt, id) = self.newResponseEvent()
          self.sendMessage({"id":id, "method":name, "params": args})
          return respEvt
docs: sends a request to the peer