Client constructor

Client(
  1. ClientChannel _channel, {
  2. CallOptions? options,
  3. 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());