mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-15 00:01:02 -05:00
16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module BasicAuthentication
|
|
def self.load_dependencies: (singleton(Session)) -> void
|
|
|
|
def self.configure: (singleton(Session)) -> void
|
|
|
|
module InstanceMethods
|
|
def basic_authentication: (string user, string password) -> instance
|
|
end
|
|
end
|
|
|
|
type sessionBasicAuthentication = sessionAuthentication & Authentication::InstanceMethods & BasicAuthentication::InstanceMethods
|
|
end
|
|
end
|