Class: VRTQL::WS::Frame
- Inherits:
-
Object
- Object
- VRTQL::WS::Frame
- Defined in:
- doc/vrtql.rb
Overview
This class encapsulates a WebSocket frame.
Instance Method Summary collapse
-
#data ⇒ String
Returns the frame data as a Ruby string.
-
#fin ⇒ Boolean
Returns the FIN value of the frame as a Ruby boolean.
-
#opcode ⇒ Integer
Returns the opcode of the frame as a Ruby integer.
-
#size ⇒ Integer
Returns the size of the frame as a Ruby integer.
Instance Method Details
#data ⇒ String
Returns the frame data as a Ruby string
276 277 278 |
# File 'doc/vrtql.rb', line 276 def data # Implementation is in the C-extension end |
#fin ⇒ Boolean
Returns the FIN value of the frame as a Ruby boolean
290 291 292 |
# File 'doc/vrtql.rb', line 290 def fin # Implementation is in the C-extension end |
#opcode ⇒ Integer
Returns the opcode of the frame as a Ruby integer
297 298 299 |
# File 'doc/vrtql.rb', line 297 def opcode # Implementation is in the C-extension end |
#size ⇒ Integer
Returns the size of the frame as a Ruby integer
283 284 285 |
# File 'doc/vrtql.rb', line 283 def size # Implementation is in the C-extension end |