Function: verb-response-p

verb-response-p is a byte-compiled function defined in verb.el.

Signature

(verb-response-p OBJ)

Documentation

Return non-nil if OBJ is an object of type verb-response(var)/verb-response(fun).

Source Code

;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defclass verb-response ()
  ((request :initarg :request
            :type verb-request-spec
            :documentation "Corresponding request.")
   (headers :initarg :headers
            :type verb--http-headers-type
            :documentation "Response headers.")
   (status :initarg :status
           :type (or null string)
           :documentation "Response's first line.")
   (duration :initarg :duration
             :type float
             :documentation
             "Time taken for response to be received, in seconds.")
   (body :initarg :body
         :initform nil
         :type (or null string)
         :documentation "Response body.")
   (body-bytes :initarg :body-bytes
               :initform 0
               :type integer
               :documentation
               "Number of bytes in response body."))
  "Represents an HTTP response to a request.")