Class: WebSocket::TelnetProxy
Overview
The TelnetProxy class adds a handler to the server channel pipeline which will proxy incoming requests to a telnet server.
Instance Method Summary collapse
-
#initialize(host, port) ⇒ TelnetProxy
constructor
A new instance of TelnetProxy.
Constructor Details
#initialize(host, port) ⇒ TelnetProxy
Returns a new instance of TelnetProxy.
18 19 20 |
# File 'lib/websocket/telnet_proxy.rb', line 18 def initialize(host, port) pipeline << TelnetProxyFrontendHandler.new(host, port) end |