Method: HTTPX::Channel#upgrade_parser

Defined in:
lib/httpx/channel.rb

#upgrade_parser(protocol) ⇒ Object



204
205
206
207
# File 'lib/httpx/channel.rb', line 204

def upgrade_parser(protocol)
  @parser.reset if @parser
  @parser = build_parser(protocol)
end