removeHeader abstract method

void removeHeader(
  1. String key
)

Removes a single header by key from the default headers.

Call this on logout to strip the Authorization token.

Implementation

void removeHeader(String key);