Class: EventMachine::HttpChunkHeader
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.
Methods inherited from Hash
Instance Attribute Details
#http_chunk_size ⇒ Object
When parsing chunked encodings this is set
65 66 67 |
# File 'lib/em-http/client.rb', line 65 def http_chunk_size @http_chunk_size end |
Instance Method Details
#chunk_size ⇒ Object
Size of the chunk as an integer
68 69 70 71 |
# File 'lib/em-http/client.rb', line 68 def chunk_size return @chunk_size unless @chunk_size.nil? @chunk_size = @http_chunk_size ? @http_chunk_size.to_i(base=16) : 0 end |