Class: WebSocket::Protocol::CloseEvent
- Inherits:
-
Struct
- Object
- Struct
- WebSocket::Protocol::CloseEvent
- Defined in:
- lib/websocket/protocol.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
48 49 50 |
# File 'lib/websocket/protocol.rb', line 48 def code @code end |
#reason ⇒ Object
Returns the value of attribute reason
48 49 50 |
# File 'lib/websocket/protocol.rb', line 48 def reason @reason end |