class BasicAuth
HttpClient feature that sets an Authorization: basic
header
as specified in RFC-2617 using username and password.
https://www.ietf.org/rfc/rfc2617.txt
class Configuration |
|
companion object |
BasicAuth(username: String, password: String)
HttpClient feature that sets an |
val password: String
: user password. |
|
val username: String
: user name. |
val key: AttributeKey<BasicAuth> |
fun constructBasicAuthValue(username: String, password: String): String
|
|
fun install(feature: BasicAuth, scope: HttpClient): Unit |
|
fun prepare(block: Configuration.() -> Unit): BasicAuth |