• (bytes http-agnt)
Returns a Java byte array of the content returned by the server;
nil if the content is not yet available.

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

(defn bytes
  "Returns a Java byte array of the content returned by the server;
  nil if the content is not yet available."
  [http-agnt]
  (.toByteArray (get-byte-buffer http-agnt)))
Vars in clojure.contrib.http.agent/bytes: bytes defn
Used in 0 other vars

Comments top

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