Ring middleware utility functions.
Ring middleware utility functions.
(api-call? {:keys [uri]})
Is this ring request an API call (does path start with /api
)?
Is this ring request an API call (does path start with `/api`)?
(cacheable? {:keys [uri query-string]})
Can the ring request be permanently cached?
Can the ring request be permanently cached?
(embed? {:keys [uri]})
Is this ring request one that will serve public.html
?
Is this ring request one that will serve `public.html`?
(public? {:keys [uri]})
Is this ring request one that will serve public.html
?
Is this ring request one that will serve `public.html`?
Generic 403 (Forbidden)
Ring response map.
Generic `403 (Forbidden)` Ring response map.
Generic 401 (Unauthenticated)
Ring response map.
Generic `401 (Unauthenticated)` Ring response map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close