Higher level core functionality. These mostly delegate to the martian
ns,
which provides the actual HTTP invocation functions.
Higher level core functionality. These mostly delegate to the `martian` ns, which provides the actual HTTP invocation functions.
(invoke-endpoint client ep params)
Invokes the given endpoint using the client by sending a request to
the configured Martian route. If the response has a success status,
it returns the body. Otherwise an exception is thrown. To emphasize
the remote nature of the request, and also because Httpkit works async,
this returns a Manifold deferred
.
Invokes the given endpoint using the client by sending a request to the configured Martian route. If the response has a success status, it returns the body. Otherwise an exception is thrown. To emphasize the remote nature of the request, and also because Httpkit works async, this returns a Manifold `deferred`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close