View Source PoppyPlug (ex_poppy v0.2.0)

Documentation for PoppyPlug.

PoppyPlug filters out requests that match an ExPoppy bloom filter served by an ExPoppyServer. The fields to match on are passed to the plug through opt.

For instance to filter every requests for which the host may appear in the bloom filter:

plug(PoppyPlug, poppy_server: :plugfestpoppy, filter: :host)

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.