Module: HTTPX::Plugins::DigestAuth

Defined in:
lib/httpx/plugins/digest_auth.rb

Overview

This plugin adds helper methods to implement HTTP Digest Auth (datatracker.ietf.org/doc/html/rfc7616)

gitlab.com/os85/httpx/wikis/Auth#digest-auth

Defined Under Namespace

Modules: InstanceMethods, OptionsMethods

Constant Summary collapse

DigestError =
Class.new(Error)

Class Method Summary collapse

Class Method Details

.extra_options(options) ⇒ Object



14
15
16
# File 'lib/httpx/plugins/digest_auth.rb', line 14

def extra_options(options)
  options.merge(max_concurrent_requests: 1)
end

.load_dependenciesObject



18
19
20
# File 'lib/httpx/plugins/digest_auth.rb', line 18

def load_dependencies(*)
  require_relative "auth/digest"
end