Client constructor
Client(
- ClientChannel _channel, {
- CallOptions? options,
- Iterable<
ClientInterceptor> ? interceptors,
Interceptors will be applied in direct order before making a request.
Implementation
Client(
this._channel, {
CallOptions? options,
Iterable<ClientInterceptor>? interceptors,
}) : _options = options ?? CallOptions(),
_interceptors = List.unmodifiable(interceptors ?? Iterable.empty());