1.2.0 permalink Arrow_down_16x16
  • (message http-agnt)
Returns the HTTP response message (e.g. 'Not Found'), for this
request, or nil if the response has not yet been received.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/http/agent.clj:324 top

(defn message
  "Returns the HTTP response message (e.g. 'Not Found'), for this
  request, or nil if the response has not yet been received."
  [http-agnt]
  (when (done? http-agnt)
    (.getResponseMessage ^HttpURLConnection (::connection @http-agnt))))
Vars in clojure.contrib.http.agent/message: defn when deref
Used in 0 other vars

Comments top

No comments for message. Log in to add a comment.