Method: Aws::Plugins::RequestCompression#add_handlers

Defined in:
lib/aws-sdk-core/plugins/request_compression.rb

#add_handlers(handlers, _config) ⇒ Object

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.



58
59
60
61
# File 'lib/aws-sdk-core/plugins/request_compression.rb', line 58

def add_handlers(handlers, _config)
  # priority set to ensure compression happens BEFORE checksum
  handlers.add(CompressionHandler, priority: 16, step: :build)
end