mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-18 00:00:56 -04:00
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module BasicAuthentication
|
|
def self.load_dependencies: (singleton(Session)) -> void
|
|
|
|
module InstanceMethods
|
|
def basic_authentication: (string user, string password) -> instance
|
|
end
|
|
end
|
|
|
|
type sessionBasicAuthentication = Plugins::sessionAuthentication & Plugins::Authentication::InstanceMethods
|
|
end
|
|
end
|