Method: Telnet::ClientChannelInitializer#ssl_handler

Defined in:
lib/telnet_client.rb

#ssl_handler(channel) ⇒ Object



382
383
384
# File 'lib/telnet_client.rb', line 382

def ssl_handler(channel)
  ssl_context&.newHandler(channel.alloc(), @host, @port)
end