addInterceptor static method

void addInterceptor(
  1. Interceptor interceptor
)

Adds an interceptor to the client.

Implementation

static void addInterceptor(Interceptor interceptor) {
  _client.addInterceptor(interceptor);
}