tech.v3.libs.cljs-ajax
Bindings to use the dataset handlers in cljs GET/POST calls.
add-java-time-handlers!
(add-java-time-handlers!)
Add handlers for java.time.LocalDate and java.time.Instant
opt-map
(opt-map)
Options map that must be included in the cljs-ajax request in order to activate dataset->transit pathways.
response-format
(response-format & [content-type])
cljs-ajax interceptor that hardwires content-type to application/transit+json
and uses ds/transit-read-handler-map
.
transit-request
(transit-request method url options)
Perform a cljs-ajax request using the select cljs-ajax.core method and merging opt-map first into the options.
writer
(writer)
Transit writer used for writing transit-json datasets and uses
ds/transit-write-handler-map