Outerfaces.Plugs.ContentSecurityPolicies.DefaultCSP (Outerfaces v0.2.2)

View Source

A plug for setting Content Security Policy headers on responses.

Summary

Functions

call(conn, opts)

@spec call(Plug.Conn.t(), Keyword.t()) :: Plug.Conn.t()

init(opts \\ [])

@spec init(Keyword.t()) :: Keyword.t()