Sha256: 9dfdc9052b598d927edfc43bc62e5b292290ea3af4a7022e395d3eef7c31cd2a

Contents?: true

Size: 1.21 KB

Versions: 35

Compression:

Stored size: 1.21 KB

Contents

# frozen_string_literal: true

require 'seahorse/client/net_http/handler'

module Seahorse
  module Client
    module Plugins
      class NetHttp < Plugin

        option(:http_proxy, default: nil, doc_type: String, docstring: '')

        option(:http_open_timeout, default: 15, doc_type: Integer, docstring: '')

        option(:http_read_timeout, default: 60, doc_type: Integer, docstring: '')

        option(:http_idle_timeout, default: 5, doc_type: Integer, docstring: '')

        option(:http_continue_timeout, default: 1, doc_type: Integer, docstring: '')

        option(:http_wire_trace, default: false, doc_type: 'Boolean', docstring: '')

        option(:ssl_verify_peer, default: true, doc_type: 'Boolean', docstring: '')

        option(:ssl_ca_bundle, doc_type: String, docstring: '') do |cfg|
          ENV['AWS_CA_BUNDLE'] ||
            Aws.shared_config.ca_bundle(profile: cfg.profile) if cfg.respond_to?(:profile)
        end

        option(:ssl_ca_directory, default: nil, doc_type: String, docstring: '')

        option(:ssl_ca_store, default: nil, doc_type: String, docstring: '')

        option(:logger) # for backwards compat

        handler(Client::NetHttp::Handler, step: :send)

      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
aws-sdk-core-3.124.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.123.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.122.1 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.122.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.6 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.5 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.3 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.2 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.1 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.121.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.120.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.119.1 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.119.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.118.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.117.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.116.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.115.0 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.114.3 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.114.2 lib/seahorse/client/plugins/net_http.rb
aws-sdk-core-3.114.1 lib/seahorse/client/plugins/net_http.rb