code: function methodCall(method, args, callback) {
        this.debug('methodCall', method);
        var self = this;
  
        /**
         * Handle RPC Method Callback.
         *
         * @param {Error} error
         * @param {string} response
         * @returns {*}
         */
        function callbackWrapper(error, response) {
          self.debug('methodCall->callbackWrapper', error, response);
          // TODO: error should be customized to handle more error types
          if (error /*&& error.code === "ENOTFOUND" && error.syscall === "getaddrinfo"*/) {
            error.message = "Unable to connect to WordPress.";
            return callback.call(self, error);
          }
  
          // Parse Response.
          if (_.isString(response) && self.common.is_numeric(response)) {
            response = parseInt(response);
          }
          callback.call(self, error, response);
        }
  
        this.__client.rpc.methodCall(
          method,
          args || [],
          callbackWrapper
        );
  
        // @chainable
        return this;
      }
docs: Call Method
  
  @todo Add __queue use for request batching.
  
  @param {string} method
  @param {[]} args
  @param {function} callback
  @returns {Client}