View Source Unplug.Predicates.RequestPathEquals (Unplug v1.0.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