Class: VRTQL::WS::Frame

Inherits:
Object
  • Object
show all
Defined in:
doc/vrtql.rb

Overview

This class encapsulates a WebSocket frame.

Instance Method Summary collapse

Instance Method Details

#dataString

Returns the frame data as a Ruby string

Returns:

  • (String)

    The frame data



276
277
278
# File 'doc/vrtql.rb', line 276

def data
  # Implementation is in the C-extension
end

#finBoolean

Returns the FIN value of the frame as a Ruby boolean

Returns:

  • (Boolean)

    The FIN value



290
291
292
# File 'doc/vrtql.rb', line 290

def fin
  # Implementation is in the C-extension
end

#opcodeInteger

Returns the opcode of the frame as a Ruby integer

Returns:

  • (Integer)

    The opcode value



297
298
299
# File 'doc/vrtql.rb', line 297

def opcode
  # Implementation is in the C-extension
end

#sizeInteger

Returns the size of the frame as a Ruby integer

Returns:

  • (Integer)

    The size of the frame



283
284
285
# File 'doc/vrtql.rb', line 283

def size
  # Implementation is in the C-extension
end