Shapt.Plug (Shapt v0.1.0) View Source
This plug provides two endpoints:
- GET that will that will return the current value of your toggles on runtime.
- POST that will reload the current value of your toggles on runtime.
plug Shapt.Plug, path: "/toggles", modules: [TestModule]
Link to this section Summary
Link to this section Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.