Method: TCPProxy#allow

Defined in:
lib/tcp_proxy.rb

#allowObject

Allows new connections to be made. This is the default, so you only need this to reenable connections after a #block.



52
53
54
55
# File 'lib/tcp_proxy.rb', line 52

def allow
  @ins  = TCPServer.new(@host, @from_port)
  @accept_new = true
end