Demo router for mix mpp.demo — serves a protected endpoint behind MPP.
Routes:
GET /— welcome page with JSON instructionsGET /resource— protected endpoint (402 without payment, 200 with valid credential)GET /health— unprotected healthcheck
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.