Liking cljdoc? Tell your friends :D

ajax.protocols


AjaxImplclj/s≠protocol

An abstraction for a javascript class that implements Ajax calls.

An abstraction for a javascript class that implements
Ajax calls.

-js-ajax-requestclj/s

(-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.
sourceraw docstring

AjaxRequestclj/s≠protocol

An abstraction for a running ajax request.

An abstraction for a running ajax request.

-abortclj/s

(-abort this)

Aborts a running ajax request, if possible.

Aborts a running ajax request, if possible.
sourceraw docstring

AjaxResponseclj/s≠protocol

An abstraction for an ajax response.

An abstraction for an ajax response.

-statusclj/s

(-status this)

Returns the HTTP Status of the response as an integer.

Returns the HTTP Status of the response as an integer.

-status-textclj/s

(-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.

-get-response-headerclj/s

(-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.

-get-all-headersclj/s

(-get-all-headers this)

Returns all headers as a map.

Returns all headers as a map.

-was-abortedclj/s

(-was-aborted this)

Was the response aborted.

Was the response aborted.

-bodyclj/s

(-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.
sourceraw docstring

Interceptorclj/s≠protocol

An abstraction for something that processes requests and responses.

An abstraction for something that processes requests and responses.

-process-requestclj/s

(-process-request this request)

Transforms the opts

Transforms the opts

-process-responseclj/s

(-process-response this response)

Transforms the raw response (an implementation of AjaxResponse)

Transforms the raw response (an implementation of AjaxResponse)
sourceraw docstring

Responsecljs

source

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

× close