Liking cljdoc? Tell your friends :D

ajax.core

This is the documented API for cljs-ajax. The only functions not exposed here that are documented are the deprecated features.

This is the documented API for cljs-ajax. The only functions not
exposed here that are documented are the deprecated features.
raw docstring

abortcljs

(abort this)
source

ajax-requestcljs

source

default-formatscljs

source

default-interceptorscljs

source

DELETEcljs

(DELETE uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

detect-response-formatcljs

source

GETcljs

(GET uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

(HEAD uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

json-request-formatcljs

source

json-response-formatcljs

source

OPTIONScljs

(OPTIONS uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

PATCHcljs

(PATCH uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

POSTcljs

(POST uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

PURGEcljs

(PURGE uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

PUTcljs

(PUT uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

raw-response-formatcljs

source

ring-response-formatcljs

source

success?cljs

source

text-request-formatcljs

source

text-response-formatcljs

source

to-interceptorcljs

source

TRACEcljs

(TRACE uri & opts)

accepts the URI and an optional map of options, options include: :handler - the handler function for successful operation should accept a single parameter which is the deserialized response :progress-handler - the handler function for progress events. this handler is only available when using the goog.net.XhrIo API :error-handler - the handler function for errors, should accept a map with keys :status and :status-text :format - the format for the request :response-format - the format for the response :params - a map of parameters that will be sent with the request

accepts the URI and an optional map of options, options include:
:handler - the handler function for successful operation
           should accept a single parameter which is the
           deserialized response
:progress-handler - the handler function for progress events.
                    this handler is only available when using the goog.net.XhrIo API
:error-handler - the handler function for errors, should accept a
                 map with keys :status and :status-text
:format - the format for the request
:response-format - the format for the response
:params - a map of parameters that will be sent with the request
sourceraw docstring

transit-request-formatcljs

source

transit-response-formatcljs

source

url-request-formatcljs

source

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

× close