class Ronin::Support::Network::Proxy

Base class for {TCP::Proxy TCP} and {UDP::Proxy UDP} Proxies.

## Callbacks

The Proxy base class supports several callbacks for proxy events.

### client_data

When a client sends data to the proxy.

on_client_data do |client,server,data|
  data.gsub!(/foo/,'bar')
end

### server_data

When the server sends data to the proxy.

on_server_data do |client,server,data|
  data.gsub!(/foo/,'bar')
end

### data

Alias for {#on_client_data} and {#on_server_data}.

## Actions

The Proxy base class also provides methods to change how events are handled.

@since 0.5.0