View Source Phx2Ban.ConnData (Phx2Ban v0.1.0-beta)

This module exposes a struct that contains a trimmed down version of the Plug.Conn struct. This is then passed to each of the filter functions to test if the incoming request should be categorized as malicious.

Link to this section Summary

Functions

Convert a Plug.Conn struct to a Phx2Ban.ConnData struct

Link to this section Functions

Convert a Plug.Conn struct to a Phx2Ban.ConnData struct