View Source Unplug.Predicates.RequestHeaderEquals (Unplug v1.0.0)
Given a request header, execute the plug if the request value matches the expected value.
Usage:
plug Unplug,
if: {Unplug.Predicates.RequestHeaderEquals, {"authorization", "super_secret"}},
do: MyApp.Plug