View Source Unplug.Predicate behaviour (Unplug v1.0.0)

This behaviour defines the structure of a module that can be used as an Unplug filter.

Link to this section Summary

Callbacks

The call/1 function

Link to this section Callbacks

@callback call(conn :: Plug.Conn.t(), opts :: any()) :: boolean()

The call/1 function