All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.name.remal.gradle_plugins.utils.okhttp3.Request.Builder.kt Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
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