Metadata


Name
lhc
Version
15.2.1
Platform
ruby
Authors
https://github.com/local-ch/lhc/contributors
Bindir
bin
Date
2022-11-01 00:00:00 UTC
Dependencies
activesupport (>= 5.2)
addressable (>= 0)
local_uri (>= 0)
typhoeus (>= 0.11)
geminabox (>= 0, development)
prometheus-client (~> 0.7.1, development)
pry (>= 0, development)
rails (>= 5.2, development)
redis (>= 0, development)
rspec-rails (>= 3.0.0, development)
rubocop (~> 1.0, development)
rubocop-performance (~> 1.0, development)
rubocop-rspec (~> 1.26.0, development)
sprockets-rails (>= 0, development)
timecop (>= 0, development)
webmock (>= 0, development)
Description
LHC is an extended/advanced HTTP client. Implementing basic http-communication enhancements like interceptors, exception handling, format handling, accessing response data, configuring endpoints and placeholders and fully compatible, RFC-compliant URL-template support.
Email
web@localsearch.ch
Files
.github/workflows/rubocop.yml
.github/workflows/test.yml
.gitignore
.rubocop.yml
.ruby-version
Gemfile
Gemfile.activesupport5
Gemfile.activesupport6
LICENSE
README.md
Rakefile
friday.yml
lhc.gemspec
lib/core_ext/hash/deep_transform_values.rb
lib/lhc.rb
lib/lhc/concerns/lhc/basic_methods_concern.rb
lib/lhc/concerns/lhc/configuration_concern.rb
lib/lhc/concerns/lhc/fix_invalid_encoding_concern.rb
lib/lhc/concerns/lhc/formats_concern.rb
lib/lhc/concerns/lhc/request/user_agent_concern.rb
lib/lhc/config.rb
lib/lhc/endpoint.rb
lib/lhc/error.rb
lib/lhc/errors/client_error.rb
lib/lhc/errors/parser_error.rb
lib/lhc/errors/server_error.rb
lib/lhc/errors/timeout.rb
lib/lhc/errors/unknown_error.rb
lib/lhc/format.rb
lib/lhc/formats.rb
lib/lhc/formats/form.rb
lib/lhc/formats/json.rb
lib/lhc/formats/multipart.rb
lib/lhc/formats/plain.rb
lib/lhc/interceptor.rb
lib/lhc/interceptors.rb
lib/lhc/interceptors/auth.rb
lib/lhc/interceptors/caching.rb
lib/lhc/interceptors/default_timeout.rb
lib/lhc/interceptors/logging.rb
lib/lhc/interceptors/monitoring.rb
lib/lhc/interceptors/prometheus.rb
lib/lhc/interceptors/retry.rb
lib/lhc/interceptors/rollbar.rb
lib/lhc/interceptors/throttle.rb
lib/lhc/interceptors/zipkin.rb
lib/lhc/railtie.rb
lib/lhc/request.rb
lib/lhc/response.rb
lib/lhc/response/data.rb
lib/lhc/response/data/base.rb
lib/lhc/response/data/collection.rb
lib/lhc/response/data/item.rb
lib/lhc/rspec.rb
lib/lhc/scrubber.rb
lib/lhc/scrubbers/auth_scrubber.rb
lib/lhc/scrubbers/body_scrubber.rb
lib/lhc/scrubbers/cache_scrubber.rb
lib/lhc/scrubbers/effective_url_scrubber.rb
lib/lhc/scrubbers/headers_scrubber.rb
lib/lhc/scrubbers/params_scrubber.rb
lib/lhc/test/cache_helper.rb
lib/lhc/version.rb
script/ci/build.sh
spec/basic_methods/delete_spec.rb
spec/basic_methods/get_spec.rb
spec/basic_methods/post_spec.rb
spec/basic_methods/put_spec.rb
spec/basic_methods/request_spec.rb
spec/basic_methods/request_without_rails_spec.rb
spec/config/endpoints_spec.rb
spec/config/placeholders_spec.rb
spec/config/scrubs_spec.rb
spec/core_ext/hash/deep_transform_values_spec.rb
spec/dummy/README.rdoc
spec/dummy/Rakefile
spec/dummy/app/assets/config/manifest.js
spec/dummy/app/assets/images/.keep
spec/dummy/app/assets/javascripts/application.js
spec/dummy/app/assets/stylesheets/application.css
spec/dummy/app/controllers/application_controller.rb
spec/dummy/app/controllers/concerns/.keep
spec/dummy/app/helpers/application_helper.rb
spec/dummy/app/mailers/.keep
spec/dummy/app/models/.keep
spec/dummy/app/models/concerns/.keep
spec/dummy/app/views/layouts/application.html.erb
spec/dummy/bin/bundle
spec/dummy/bin/rails
spec/dummy/bin/rake
spec/dummy/config.ru
spec/dummy/config/application.rb
spec/dummy/config/boot.rb
spec/dummy/config/environment.rb
spec/dummy/config/environments/development.rb
spec/dummy/config/environments/production.rb
spec/dummy/config/environments/test.rb
spec/dummy/config/initializers/assets.rb
spec/dummy/config/initializers/backtrace_silencers.rb
spec/dummy/config/initializers/cookies_serializer.rb
spec/dummy/config/initializers/filter_parameter_logging.rb
spec/dummy/config/initializers/inflections.rb
spec/dummy/config/initializers/mime_types.rb
spec/dummy/config/initializers/session_store.rb
spec/dummy/config/initializers/wrap_parameters.rb
spec/dummy/config/locales/en.yml
spec/dummy/config/routes.rb
spec/dummy/config/secrets.yml
spec/dummy/lib/assets/.keep
spec/dummy/log/.keep
spec/dummy/public/404.html
spec/dummy/public/422.html
spec/dummy/public/500.html
spec/dummy/public/favicon.ico
spec/dummy/tmp/cache/.gitkeep
spec/endpoint/compile_spec.rb
spec/endpoint/match_spec.rb
spec/endpoint/placeholders_spec.rb
spec/endpoint/remove_interpolated_params_spec.rb
spec/endpoint/values_as_params_spec.rb
spec/error/dup_spec.rb
spec/error/find_spec.rb
spec/error/response_spec.rb
spec/error/timeout_spec.rb
spec/error/to_s_spec.rb
spec/formats/form_spec.rb
spec/formats/json_spec.rb
spec/formats/multipart_spec.rb
spec/formats/plain_spec.rb
spec/interceptors/after_request_spec.rb
spec/interceptors/after_response_spec.rb
spec/interceptors/auth/basic_auth_spec.rb
spec/interceptors/auth/bearer_spec.rb
spec/interceptors/auth/body_spec.rb
spec/interceptors/auth/long_basic_auth_credentials_spec.rb
spec/interceptors/auth/no_instance_var_for_options_spec.rb
spec/interceptors/auth/reauthentication_configuration_spec.rb
spec/interceptors/auth/reauthentication_spec.rb
spec/interceptors/before_request_spec.rb
spec/interceptors/before_response_spec.rb
spec/interceptors/caching/hydra_spec.rb
spec/interceptors/caching/main_spec.rb
spec/interceptors/caching/methods_spec.rb
spec/interceptors/caching/multilevel_cache_spec.rb
spec/interceptors/caching/options_spec.rb
spec/interceptors/caching/parameters_spec.rb
spec/interceptors/caching/response_status_spec.rb
spec/interceptors/caching/to_cache_spec.rb
spec/interceptors/default_interceptors_spec.rb
spec/interceptors/default_timeout/main_spec.rb
spec/interceptors/define_spec.rb
spec/interceptors/dup_spec.rb
spec/interceptors/logging/main_spec.rb
spec/interceptors/monitoring/caching_spec.rb
spec/interceptors/monitoring/main_spec.rb
spec/interceptors/prometheus_spec.rb
spec/interceptors/response_competition_spec.rb
spec/interceptors/retry/main_spec.rb
spec/interceptors/return_response_spec.rb
spec/interceptors/rollbar/invalid_encoding_spec.rb
spec/interceptors/rollbar/main_spec.rb
spec/interceptors/throttle/main_spec.rb
spec/interceptors/throttle/reset_track_spec.rb
spec/interceptors/zipkin/distributed_tracing_spec.rb
spec/rails_helper.rb
spec/request/body_spec.rb
spec/request/encoding_spec.rb
spec/request/error_handling_spec.rb
spec/request/headers_spec.rb
spec/request/ignore_errors_spec.rb
spec/request/option_dup_spec.rb
spec/request/parallel_requests_spec.rb
spec/request/params_encoding_spec.rb
spec/request/request_without_rails_spec.rb
spec/request/scrubbed_headers_spec.rb
spec/request/scrubbed_options_spec.rb
spec/request/scrubbed_params_spec.rb
spec/request/url_patterns_spec.rb
spec/request/user_agent_spec.rb
spec/request/user_agent_without_rails_spec.rb
spec/response/body_spec.rb
spec/response/code_spec.rb
spec/response/data_accessor_spec.rb
spec/response/data_spec.rb
spec/response/effective_url_spec.rb
spec/response/headers_spec.rb
spec/response/options_spec.rb
spec/response/scrubbed_options_spec.rb
spec/response/success_spec.rb
spec/response/time_spec.rb
spec/spec_helper.rb
spec/support/fixtures/json/feedback.json
spec/support/fixtures/json/feedbacks.json
spec/support/fixtures/json/localina_content_ad.json
spec/support/load_json.rb
spec/support/reset_config.rb
spec/support/zipkin_mock.rb
spec/timeouts/no_signal_spec.rb
spec/timeouts/timings_spec.rb
Homepage
https://github.com/local-ch/lhc
Licenses
GPL-3.0
Require paths
lib
Required ruby version
>= 2.7
Required rubygems version
>= 0
Requirements
Ruby >= 2.0.0
Rubygems version
3.1.4
Specification version
4
Summary
Advanced HTTP Client for Ruby, fueled with interceptors
Original platform
ruby
New platform
ruby