• (request-body http-agnt)
Returns the HTTP request body given to this HTTP agent.

Note: if the request body was an InputStream or a Reader, it will no
longer be usable.

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:299 top

(defn request-body
  "Returns the HTTP request body given to this HTTP agent.  

  Note: if the request body was an InputStream or a Reader, it will no
  longer be usable."
  [http-agnt]
  (:body (::options @http-agnt)))
Vars in clojure.contrib.http.agent/request-body: defn deref
Used in 0 other vars

Comments top

No comments for request-body. Log in to add a comment.