httpx/sig/plugins/basic_authentication.rbs
2021-08-31 13:50:29 +01:00

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