UNPKG

671 BTypeScriptView Raw
1/**
2 * An interface that contains options used when initializing a Channel instance.
3 * This listing is incomplete. Full reference: https://grpc.github.io/grpc/core/group__grpc__arg__keys.html
4 */
5export interface ChannelOptions {
6 'grpc.ssl_target_name_override'?: string;
7 'grpc.primary_user_agent'?: string;
8 'grpc.secondary_user_agent'?: string;
9 'grpc.default_authority'?: string;
10 'grpc.service_config'?: string;
11 'grpc.max_concurrent_streams'?: number;
12 'grpc.initial_reconnect_backoff_ms'?: number;
13 'grpc.max_reconnect_backoff_ms'?: number;
14 'grpc.use_local_subchannel_pool'?: number;
15 [key: string]: string | number | undefined;
16}