Method: EventMachine::Connection#proxy_incoming_to
- Defined in:
- lib/em/connection.rb
#proxy_incoming_to(conn, bufsize = 0) ⇒ Object
EventMachine::Connection#proxy_incoming_to is called only by user code. It sets up a low-level proxy relay for all data inbound for this connection, to the connection given as the argument. This is essentially just a helper method for enable_proxy.
232 233 234 |
# File 'lib/em/connection.rb', line 232 def proxy_incoming_to(conn,bufsize=0) EventMachine::enable_proxy(self, conn, bufsize) end |