Class: HTTPClient

Inherits:
Object show all
Defined in:
lib/openc3/core_ext/httpclient.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, &block) ⇒ HTTPClient

Returns a new instance of HTTPClient.



6
7
8
9
10
# File 'lib/openc3/core_ext/httpclient.rb', line 6

def initialize(*args, &block)
  original_initialize(*args, &block)
  # Force use of the default system CA certs (instead of the 6 year old bundled ones)
  @session_manager&.ssl_config&.set_default_paths
end

Instance Method Details

#original_initializeObject



4
# File 'lib/openc3/core_ext/httpclient.rb', line 4

alias original_initialize initialize