UNPKG

841 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 *
5 * @publicApi
6 */
7export interface ChannelOptions {
8 'grpc.max_send_message_length'?: number;
9 'grpc.max_receive_message_length'?: number;
10 'grpc.max_metadata_size'?: number;
11 'grpc.ssl_target_name_override'?: string;
12 'grpc.primary_user_agent'?: string;
13 'grpc.secondary_user_agent'?: string;
14 'grpc.default_authority'?: string;
15 'grpc.service_config'?: string;
16 'grpc.max_concurrent_streams'?: number;
17 'grpc.initial_reconnect_backoff_ms'?: number;
18 'grpc.max_reconnect_backoff_ms'?: number;
19 'grpc.use_local_subchannel_pool'?: number;
20 'grpc-node.max_session_memory'?: number;
21 [key: string]: any;
22}