Liking cljdoc? Tell your friends :D

clj-xmlrpc.client


clj-to-valuecljmultimethod

Takes a Clojure value and converts it to a prxml representation of RPC XML.

Takes a Clojure value and converts it to a prxml representation of RPC XML.
raw docstring

emitclj

(emit x)

Emits RPC xml. Essentially the opposite of parse. It takes a map just like rpc-parse returns. This function doesn't purposely do any validation, so make sure your code is well- formed.

Emits RPC xml. Essentially the opposite of parse. It takes a map just like rpc-parse
returns. This function doesn't purposely do any validation, so make sure your code is well-
formed.
raw docstring

parseclj

(parse x)

Parse RPC XML. Returns a Clojure map of :type -> :methodCall or :methodResponse, :methodName -> the name of the method being called in the event of a :methodCall, :params -> Parameters in the event of a :methodCall, :fault -> fault stuff in the event of a fault. This function does no validation right now: it's up to the server to return valid RPC XML. If it doesn't rpc-parse wont care and will try to parse it however it can.

Parse RPC XML. Returns a Clojure map of :type -> :methodCall or :methodResponse,
:methodName -> the name of the method being called in the event of a :methodCall,
:params -> Parameters in the event of a :methodCall, :fault -> fault stuff in the
event of a fault. This function does no validation right now: it's up to the server
to return valid RPC XML. If it doesn't rpc-parse wont care and will try to parse it
however it can.
raw docstring

requestclj

(request url req)

Makes a request to an XML-RPC server. Emits XML from the map passed and parses resultant xml.

Makes a request to an XML-RPC server. Emits XML from the map passed and parses resultant xml.
raw docstring

value-to-cljcljmultimethod

Takes an RPC XML value and converts it to a Clojure representation.

Takes an RPC XML value and converts it to a Clojure representation.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close