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

View Source

A default example 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()