setAuthHeader method

void setAuthHeader(
  1. String token
)

Call this method to add or reset an Authorization header after creating the ConnectionManager.

This method will override eixisting "Authorization" header.

Implementation

void setAuthHeader(String token) {
  _addedHeaders["Authorization"] = token;
}