module HTTPX::Plugins::Brotli::RequestBodyClassMethods

  1. lib/httpx/plugins/brotli.rb

Methods

Public Instance

  1. initialize_deflater_body

Public Instance methods

initialize_deflater_body(body, encoding)
[show source]
   # File lib/httpx/plugins/brotli.rb
15 def initialize_deflater_body(body, encoding)
16   return Brotli.encode(body) if encoding == "br"
17 
18   super
19 end