Class: Baykit::BayServer::Docker::Http::H2::HeaderBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/baykit/bayserver/docker/http/h2/header_block.rb

Constant Summary collapse

INDEX =
1
OVERLOAD_KNOWN_HEADER =
2
NEW_HEADER =
3
KNOWN_HEADER =
4
UNKNOWN_HEADER =
5
UPDATE_DYNAMIC_TABLE_SIZE =
6

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#indexObject

Returns the value of attribute index.



16
17
18
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 16

def index
  @index
end

#nameObject

Returns the value of attribute name.



17
18
19
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 17

def name
  @name
end

#opObject

Returns the value of attribute op.



15
16
17
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 15

def op
  @op
end

#sizeObject

Returns the value of attribute size.



19
20
21
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 19

def size
  @size
end

#valueObject

Returns the value of attribute value.



18
19
20
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 18

def value
  @value
end

Instance Method Details

#to_sObject



22
23
24
# File 'lib/baykit/bayserver/docker/http/h2/header_block.rb', line 22

def to_s
  "#{op} index=#{index} name=#{name} value=#{value}"
end