public ClientBuilder AddGlobalInterceptor <TInterceptor>() where TInterceptor : Interceptor { GlobalInterceptors.Add(typeof(TInterceptor)); return(this); }
public void WithGlobalInterceptor(IInterceptor interceptor) { GlobalInterceptors.Add(interceptor); }