module HTTPX::Plugins::Brotli::ResponseBodyClassMethods

  1. lib/httpx/plugins/brotli.rb

Methods

Public Instance

  1. initialize_inflater_by_encoding

Public Instance methods

initialize_inflater_by_encoding(encoding, response, **kwargs)
[show source]
   # File lib/httpx/plugins/brotli.rb
23 def initialize_inflater_by_encoding(encoding, response, **kwargs)
24   return Brotli.decode(response, **kwargs) if encoding == "br"
25 
26   super
27 end