intercept

open override fun intercept(chain: Interceptor.Chain): Response

Intercepts the request and adds the Basic Authentication header.

Return

The response after adding the authorization header.

Parameters

chain

The interceptor chain.

Throws

If an I/O error occurs.