chroxy v0.4.2 Chroxy.ProxyServer
Transparent Proxy Server manages the relay of communications between and
upstream and downstream tcp connections. Support customer extensions through
callbacks of Hook modules which implement the Chroxy.ProxyServer.Hook
behaviour.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Spawns a process to manage connections between upstream and downstream connections
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
start_link(args)
Spawns a process to manage connections between upstream and downstream connections.
Keyword args
:
:upstream_socket
-:gen_tcp
connection delegated from theChroxy.ProxyListener
:dyn_hook
- [optional] function to obtain a module which implementsChroxy.ProxyServer.Hook
:downstream_host
- [optional] downstream host:downstream_port
- [optional] downstream port