shadowsocks v0.5.0 Shadowsocks.Conn behaviour View Source
Link to this section Summary
Callbacks
connection loop init
Link to this section Functions
connect to {addr, port} args conn config options
make a proxy from is
to os
is
input stream
os
output stream
size
init data size (size
will report to flow event)
type
:up
or :down
, use to report flow event
Link to this section Callbacks
Link to this callback
init(socket, encoder, parent, args)
View Source
init( socket :: port(), encoder :: Shadowsocks.Encoder.t(), parent :: pid(), args :: map() ) :: any()
connection loop init