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.
(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
(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
(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
(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
(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
(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
(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
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close