1 | import { CompressionAlgorithms } from './compression-algorithms';
|
2 |
|
3 |
|
4 |
|
5 | export 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.keepalive_time_ms'?: number;
|
11 | 'grpc.keepalive_timeout_ms'?: number;
|
12 | 'grpc.keepalive_permit_without_calls'?: number;
|
13 | 'grpc.service_config'?: string;
|
14 | 'grpc.max_concurrent_streams'?: number;
|
15 | 'grpc.initial_reconnect_backoff_ms'?: number;
|
16 | 'grpc.max_reconnect_backoff_ms'?: number;
|
17 | 'grpc.use_local_subchannel_pool'?: number;
|
18 | 'grpc.max_send_message_length'?: number;
|
19 | 'grpc.max_receive_message_length'?: number;
|
20 | 'grpc.enable_http_proxy'?: number;
|
21 | 'grpc.http_connect_target'?: string;
|
22 | 'grpc.http_connect_creds'?: string;
|
23 | 'grpc.default_compression_algorithm'?: CompressionAlgorithms;
|
24 | 'grpc.enable_channelz'?: number;
|
25 | 'grpc.dns_min_time_between_resolutions_ms'?: number;
|
26 | 'grpc-node.max_session_memory'?: number;
|
27 | [key: string]: any;
|
28 | }
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | export declare const recognizedOptions: {
|
34 | 'grpc.ssl_target_name_override': boolean;
|
35 | 'grpc.primary_user_agent': boolean;
|
36 | 'grpc.secondary_user_agent': boolean;
|
37 | 'grpc.default_authority': boolean;
|
38 | 'grpc.keepalive_time_ms': boolean;
|
39 | 'grpc.keepalive_timeout_ms': boolean;
|
40 | 'grpc.keepalive_permit_without_calls': boolean;
|
41 | 'grpc.service_config': boolean;
|
42 | 'grpc.max_concurrent_streams': boolean;
|
43 | 'grpc.initial_reconnect_backoff_ms': boolean;
|
44 | 'grpc.max_reconnect_backoff_ms': boolean;
|
45 | 'grpc.use_local_subchannel_pool': boolean;
|
46 | 'grpc.max_send_message_length': boolean;
|
47 | 'grpc.max_receive_message_length': boolean;
|
48 | 'grpc.enable_http_proxy': boolean;
|
49 | 'grpc.enable_channelz': boolean;
|
50 | 'grpc.dns_min_time_between_resolutions_ms': boolean;
|
51 | 'grpc-node.max_session_memory': boolean;
|
52 | };
|
53 | export declare function channelOptionsEqual(options1: ChannelOptions, options2: ChannelOptions): boolean;
|