chroxy v0.4.0 Chroxy.ProxyListener
Reponsible for accepting upstream connections from client, and delegating
ownership of the connection to a new Chroxy.ProxyServer
process which will
in turn create the transparent forwarding channel to the downstream host.
Link to this section Summary
Functions
Instruct listener to accept incoming tcp connections and spawn a
dynamic transparent proxy Chroxy.ProxySever
to handle the connection
Returns a specification to start this module under a supervisor
Spawns a ProxyLister which will listen on the port
Link to this section Functions
Link to this function
accept(proxy_opts)
Instruct listener to accept incoming tcp connections and spawn a
dynamic transparent proxy Chroxy.ProxySever
to handle the connection.
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 ProxyLister which will listen on the port.
Keyword args
:
:port
- port in which the TCP listener will accept connections.