Method: HTTP::Response::Parser#initialize
- Defined in:
- lib/http/response/parser.rb
#initialize ⇒ Parser
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.
Create a new response parser
33 34 35 36 37 |
# File 'lib/http/response/parser.rb', line 33 def initialize @handler = Handler.new(self) @parser = LLHttp::Parser.new(@handler, type: :response) reset end |