Unplug v0.2.0 Unplug.Predicate behaviour View Source

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

Link to this callback

call(conn, opts)

View Source
call(conn :: Plug.Conn.t(), opts :: any()) :: boolean()

The call/1 function