Liking cljdoc? Tell your friends :D

strojure.web-security.csp-impl


nonce-placeholderclj

The replacement for the :nonce to be substituted with CSP nonce value.

The replacement for the `:nonce` to be substituted with CSP nonce value.
sourceraw docstring

PolicyRendercljprotocol

A protocol for rendering various types as content policy directives and their values.

A protocol for rendering various types as content policy directives and their
values.

as-directive-nameclj

(as-directive-name x)

Returns string value for directive name.

Returns string value for directive name.

write-directive-valueclj

(write-directive-value x rf to)

Returns new value of to created using reducing function (fn rf [to string]). The x is responsible for the space before it.

Returns new value of `to` created using reducing function `(fn rf [to string])`.
The `x` is responsible for the space before it.
sourceraw docstring

render-header-valueclj

(render-header-value policy)

Returns content policy header value for the policy map. See csp/header-value-fn for the description of policy map.

Returns content policy header value for the `policy` map.
See [[csp/header-value-fn]] for the description of policy map.
sourceraw docstring

sb-appendclj

(sb-append)
(sb-append sb)
(sb-append sb s)

Reducing function which appends string to StringBuilder.

Reducing function which appends string to `StringBuilder`.
sourceraw docstring

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

× close