Liking cljdoc? Tell your friends :D

stripe-clojure.http.events


add-listenerclj

(add-listener client event-type handler)

Adds an event listener to the client's configuration.

Example: (add-listener client :request my-handler)

Adds an event listener to the client's configuration.

Example:
    (add-listener client :request my-handler)
sourceraw docstring

build-event-dataclj

(build-event-data base-event additional-event kebabify-keys?)

Builds the common event data structure. Optionally transforms keys to kebab-case based on the kebabify-keys? flag.

Builds the common event data structure.
Optionally transforms keys to kebab-case based on the kebabify-keys? flag.
sourceraw docstring

emit-eventclj

(emit-event listeners event-type base-data additional-data kebabify-keys?)

Emits an event to all registered listeners of the specified type. Optionally transforms keys to kebab-case based on the kebabify-keys? flag.

Emits an event to all registered listeners of the specified type.
Optionally transforms keys to kebab-case based on the kebabify-keys? flag.
sourceraw docstring

remove-listenerclj

(remove-listener client event-type handler)

Removes an event listener from the client's configuration.

Removes an event listener from the client's configuration.
sourceraw docstring

valid-event-typesclj

Set of supported event types.

Set of supported event types.
sourceraw docstring

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

× close