This plugin adds helper methods to implement HTTP Digest Auth (datatracker.ietf.org/doc/html/rfc7616)
Classes and Modules
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/digest_auth.rb 12 def extra_options(options) 13 options.merge(max_concurrent_requests: 1) 14 end
load_dependencies(klass)
[show source]
# File lib/httpx/plugins/digest_auth.rb 16 def load_dependencies(klass) 17 require_relative "auth/digest" 18 klass.plugin(:auth) 19 end