(get-invoke-result response)
get the invoke result , the result has two kinds:
get the invoke result , the result has two kinds: 1. a map means a single invoke 2. a collection means multi invoke
(get-response-value m key)
get response key value ,either keywork or string
get response key value ,either keywork or string
(invoke-rpc endpoint method-name args & func-args)
Invoke one or more remote func-name on endpoint with args. example: (invoke-rpc fun1 [arg1 arg2 ...] func2 [arg1 arg2 ...]]) if only one request return only one result, otherwise return collection of result
Invoke one or more remote func-name on endpoint with args. example: (invoke-rpc fun1 [arg1 arg2 ...] func2 [arg1 arg2 ...]]) if only one request return only one result, otherwise return collection of result
(invoke-rpc-with-token endpoint token method-name args & func-args)
Invoke remote func-name on endpoint with args. example: (invoke-rpc-with-token token func1 [arg1 arg2 ...] func2 [arg ...]) if only one request return only one result, otherwise return collection of result
Invoke remote func-name on endpoint with args. example: (invoke-rpc-with-token token func1 [arg1 arg2 ...] func2 [arg ...]) if only one request return only one result, otherwise return collection of result
(mk-query f-encode method-request & [conn-timeout socket-timeout])
make query object to send to endpoint.
make query object to send to endpoint.
(rpc-endpoint &
{:keys [server port on-wire fn-post-request conn-timeout
socket-timeout]
:or {server "localhost"
port server/rpc-default-port
on-wire "clj"
fn-post-request http/post
conn-timeout 10000
socket-timeout 20000}})
Returns the endpoint to execute RPC functions.
Returns the endpoint to execute RPC functions.
(help endpoint)
Returns the list of the functions that endpoint support.
Returns the list of the functions that endpoint support.
(invoke endpoint method-request token)
Invoke functions with name func-name with arguments args on endpoint, parameter method-request can be a method-request structure like {:methd-name "str" :params ["hello" "world"]} or a collection of method-request.
Invoke functions with name func-name with arguments args on endpoint, parameter method-request can be a method-request structure like {:methd-name "str" :params ["hello" "world"]} or a collection of method-request.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close