Class: WebSocket::Driver::Hybi::Frame

Inherits:
Object
  • Object
show all
Defined in:
lib/websocket/driver/hybi/frame.rb

Instance Attribute Summary collapse

Instance Attribute Details

#finalObject

Returns the value of attribute final.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def final
  @final
end

#lengthObject

Returns the value of attribute length.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def length
  @length
end

#length_bytesObject

Returns the value of attribute length_bytes.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def length_bytes
  @length_bytes
end

#maskedObject

Returns the value of attribute masked.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def masked
  @masked
end

#masking_keyObject

Returns the value of attribute masking_key.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def masking_key
  @masking_key
end

#opcodeObject

Returns the value of attribute opcode.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def opcode
  @opcode
end

#payloadObject

Returns the value of attribute payload.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def payload
  @payload
end

#rsv1Object

Returns the value of attribute rsv1.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def rsv1
  @rsv1
end

#rsv2Object

Returns the value of attribute rsv2.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def rsv2
  @rsv2
end

#rsv3Object

Returns the value of attribute rsv3.



6
7
8
# File 'lib/websocket/driver/hybi/frame.rb', line 6

def rsv3
  @rsv3
end