Class: WebSocket::SslCipherInspector
- Inherits:
-
SimpleChannelInboundHandler
- Object
- SimpleChannelInboundHandler
- WebSocket::SslCipherInspector
- Defined in:
- lib/websocket/ssl_cipher_inspector.rb
Overview
The SslCipherInspector class enables debugging the details around cipher configuration and pipeline handling of SSL handshakes.
Instance Method Summary collapse
- #channelRead(ctx, msg) ⇒ Object
-
#initialize ⇒ SslCipherInspector
constructor
A new instance of SslCipherInspector.
Constructor Details
#initialize ⇒ SslCipherInspector
Returns a new instance of SslCipherInspector.
24 25 26 27 |
# File 'lib/websocket/ssl_cipher_inspector.rb', line 24 def initialize # Include additional subclass initialization here. super() end |
Instance Method Details
#channelRead(ctx, msg) ⇒ Object
29 30 31 32 33 |
# File 'lib/websocket/ssl_cipher_inspector.rb', line 29 def channelRead(ctx, msg) cipher_suite = cipher_suite ctx log.info "Server communications are secured by #{cipher_suite}" ctx.fireChannelRead(msg) end |