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

#final ⇒ Object

Returns the value of attribute final.



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

def final
  @final
end

#length ⇒ Object

Returns the value of attribute length.



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

def length
  @length
end

#length_bytes ⇒ Object

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

#masked ⇒ Object

Returns the value of attribute masked.



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

def masked
  @masked
end

#masking_key ⇒ Object

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

#opcode ⇒ Object

Returns the value of attribute opcode.



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

def opcode
  @opcode
end

#payload ⇒ Object

Returns the value of attribute payload.



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

def payload
  @payload
end

#rsv1 ⇒ Object

Returns the value of attribute rsv1.



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

def rsv1
  @rsv1
end

#rsv2 ⇒ Object

Returns the value of attribute rsv2.



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

def rsv2
  @rsv2
end

#rsv3 ⇒ Object

Returns the value of attribute rsv3.



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

def rsv3
  @rsv3
end