Unplug v0.2.0 Unplug.Predicates.RequestPathEquals View Source

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