module HTTPX::Plugins::DigestAuth::OptionsMethods

  1. lib/httpx/plugins/digest_auth.rb

adds support for the following options:

:digest

instance of HTTPX::Plugins::Authentication::Digest, used to authenticate requests in the session.

Methods

Public Instance

  1. option_digest

Public Instance methods

option_digest(value)
[show source]
   # File lib/httpx/plugins/digest_auth.rb
27 def option_digest(value)
28   raise TypeError, ":digest must be a #{Authentication::Digest}" unless value.is_a?(Authentication::Digest)
29 
30   value
31 end