Instance Methodasync-http-client 1.24.0AsyncHTTPClient
setBasicAuth(username:password:)
Set basic auth for a request.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
mutating func setBasicAuth(username: String, password: String)
Set basic auth for a request.
mutating func setBasicAuth(username: String, password: String)