View Source Unplug.Predicates.RequestPathEquals (Unplug v1.1.0)
Given a request path, execute the plug if the request value matches the expected value.
Usage:
plug Unplug,
if: {Unplug.Predicates.RequestPathEquals, "/metrics"},
do: MyApp.Plug
Given a request path, execute the plug if the request value matches the expected value.
Usage:
plug Unplug,
if: {Unplug.Predicates.RequestPathEquals, "/metrics"},
do: MyApp.Plug