setBasicAuth

fun setBasicAuth(username: String?, password: String?)

Set credentials for this HttpSender that override (if present) the ones set globally.

Parameters

username

The username to set for HTTP Basic Auth.

password

The password to set for HTTP Basic Auth.