code: def send_request(req=None, method=None, requires_response=True):
      
      if req is None:
          return functools.partial(send_request, method=method,
                                   requires_response=requires_response)
  
      @functools.wraps(req)
      def wrapper(self, *args, **kwargs):
          params = req(self, *args, **kwargs)
          _id = self.send(method, params, requires_response)
          return _id
      wrapper._sends = method
      return wrapper
docs: Call function req and then send its results via ZMQ.