mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
22 lines
523 B
Plaintext
22 lines
523 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module DigestAuth
|
|
DigestError: singleton(Error)
|
|
|
|
interface _DigestOptions
|
|
def digest: () -> Authentication::Digest?
|
|
end
|
|
|
|
def self.extra_options: (Options) -> (Options & _DigestOptions)
|
|
|
|
def self.load_dependencies: (*untyped) -> void
|
|
|
|
module InstanceMethods
|
|
def digest_authentication: (string user, string password) -> instance
|
|
end
|
|
end
|
|
|
|
type sessionDigestAuth = sessionAuthentication & DigestAuth::InstanceMethods
|
|
end
|
|
end
|