chroxy v0.3.0 Chroxy.ProxyServer.Hook behaviour

Link to this section Summary

Link to this section Callbacks

Link to this callback down(identifier, arg1) (optional)
down(identifier(), Map.t()) :: :ok
Link to this callback up(identifier, arg1) (optional)
up(identifier(), Keyword.t()) :: [
  downstream_host: charlist(),
  downstream_port: non_neg_integer()
]