Class: EventedNet::HTTP::HttpChunkHeader
- Inherits:
-
Hash
- Object
- Hash
- EventedNet::HTTP::HttpChunkHeader
- Defined in:
- lib/http/connection.rb
Instance Attribute Summary collapse
-
#http_chunk_size ⇒ Object
When parsing chunked encodings this is set.
Instance Method Summary collapse
-
#chunk_size ⇒ Object
Size of the chunk as an integer.
Instance Attribute Details
#http_chunk_size ⇒ Object
When parsing chunked encodings this is set
33 34 35 |
# File 'lib/http/connection.rb', line 33 def http_chunk_size @http_chunk_size end |
Instance Method Details
#chunk_size ⇒ Object
Size of the chunk as an integer
36 37 38 39 |
# File 'lib/http/connection.rb', line 36 def chunk_size return @chunk_size unless @chunk_size.nil? @chunk_size = @http_chunk_size ? @http_chunk_size.to_i(base=16) : 0 end |