Method: HTTP::Response::Parser#add
- Defined in:
- lib/http/response/parser.rb
#add(data) ⇒ Object Also known as: <<
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 29 30 31 32 33 34 |
# File 'lib/http/response/parser.rb', line 28 def add(data) parser << data self rescue LLHttp::Error => e raise IOError, e. end |