mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
16 lines
419 B
Plaintext
16 lines
419 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module BasicAuth
|
|
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 sessionBasicAuth = sessionAuthentication & Authentication::InstanceMethods & BasicAuth::InstanceMethods
|
|
end
|
|
end
|