Spec for defining an url filter.
opts() :: map()
url() :: String.t()
filter(url(), opts()) :: {:ok, boolean()} | {:error, term()}