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

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

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, #before_initialize, before_initialize, option

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



8
9
10
11
12
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/expect_100_continue.rb', line 8

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