Module: LogStash::PluginMixins::HttpClient
- Defined in:
- lib/logstash/plugin_mixins/http_client.rb,
lib/logstash/plugin_mixins/http_client/deprecated_ssl_config_support.rb,
lib/logstash/plugin_mixins/http_client/obsolete_ssl_config_support.rb
Overview
This module makes it easy to add a very fully configured HTTP client to logstash based on [Manticore](github.com/cheald/manticore). For an example of its usage see github.com/logstash-plugins/logstash-input-http_poller
Defined Under Namespace
Modules: DeprecatedSslConfigSupport, Implementation, ObsoleteSslConfigSupport Classes: InvalidHTTPConfigError
Class Method Summary collapse
Class Method Details
.[](**a) ⇒ Object
10 11 12 |
# File 'lib/logstash/plugin_mixins/http_client.rb', line 10 def self.[](**a) Adapter.new(**a) end |
.included(base) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/logstash/plugin_mixins/http_client.rb', line 14 def self.included(base) # TODO: deprecate the act of including this mixin directly, # in a way that turns focus to plugin maintainers since # an end-user cannot act to resolve the issue. base.include(Adapter.new(with_deprecated: true)) end |