class Aws::Plugins::RequestCompression::CompressionHandler

def with_metric(encoding, &block)

def with_metric(encoding, &block)
  case encoding
  when 'gzip'
    Aws::Plugins::UserAgent.metric('GZIP_REQUEST_COMPRESSION', &block)
  else
    block.call
  end
end