An abstraction for a javascript class that implements Ajax calls.
An abstraction for a javascript class that implements Ajax calls.
(-js-ajax-request this request handler)
Makes an actual ajax request. All parameters except opts are in JS format. Should return an AjaxRequest.
Makes an actual ajax request. All parameters except opts are in JS format. Should return an AjaxRequest.
An abstraction for a running ajax request.
An abstraction for a running ajax request.
(-abort this)
Aborts a running ajax request, if possible.
Aborts a running ajax request, if possible.
An abstraction for an ajax response.
An abstraction for an ajax response.
(-body this)
Returns the response body as a string or as type specified in response-format such as a blob or arraybuffer.
Returns the response body as a string or as type specified in response-format such as a blob or arraybuffer.
(-get-all-headers this)
Returns all headers as a map.
Returns all headers as a map.
(-get-response-header this header)
Gets the specified response header (specified by a string) as a string.
Gets the specified response header (specified by a string) as a string.
(-status this)
Returns the HTTP Status of the response as an integer.
Returns the HTTP Status of the response as an integer.
(-status-text this)
Returns the HTTP Status Text of the response as a string.
Returns the HTTP Status Text of the response as a string.
(-was-aborted this)
Was the response aborted.
Was the response aborted.
An abstraction for something that processes requests and responses.
An abstraction for something that processes requests and responses.
(-process-request this request)
Transforms the opts
Transforms the opts
(-process-response this response)
Transforms the raw response (an implementation of AjaxResponse)
Transforms the raw response (an implementation of AjaxResponse)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close