main.name.remal.gradle_plugins.utils.okhttp3.Request.Builder.kt Maven / Gradle / Ivy
package name.remal.gradle_plugins.utils
import okhttp3.Credentials
import okhttp3.Request
fun Request.Builder.addAuthorization(user: String, password: String) = addHeader("Authorization", Credentials.basic(user, password))
© 2015 - 2024 Weber Informatics LLC | Privacy Policy