Class: LibWebSocket::OpeningHandshake
- Inherits:
-
Object
- Object
- LibWebSocket::OpeningHandshake
- Extended by:
- Forwardable
- Defined in:
- lib/libwebsocket/opening_handshake.rb,
lib/libwebsocket/opening_handshake/client.rb,
lib/libwebsocket/opening_handshake/server.rb
Overview
This is a base class for LibWebSocket::OpeningHandshake::Client and LibWebSocket::OpeningHandshake::Server.
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#controller ⇒ Object
16 17 18 |
# File 'lib/libwebsocket/opening_handshake.rb', line 16 def controller @controller end |
#parse(opts) ⇒ Object
20 21 22 23 24 |
# File 'lib/libwebsocket/opening_handshake.rb', line 20 def parse(opts) @controller << opts return false if @controller.error return true end |