Class: Aws::S3::Plugins::Expect100Continue

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/aws-sdk-s3/plugins/expect_100_continue.rb

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



6
7
8
9
10
# File 'lib/aws-sdk-s3/plugins/expect_100_continue.rb', line 6

def add_handlers(handlers, config)
  if config.http_continue_timeout && config.http_continue_timeout > 0
    handlers.add(Handler)
  end
end