etquia
Version:
Dummy package for the grpc-node repository
59 lines (55 loc) • 2.67 kB
text/typescript
// Original file: deps/envoy-api/envoy/config/core/v3/protocol.proto
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration';
import type { Percent as _envoy_type_v3_Percent, Percent__Output as _envoy_type_v3_Percent__Output } from '../../../../envoy/type/v3/Percent';
export interface KeepaliveSettings {
/**
* Send HTTP/2 PING frames at this period, in order to test that the connection is still alive.
* If this is zero, interval PINGs will not be sent.
*/
'interval'?: (_google_protobuf_Duration | null);
/**
* How long to wait for a response to a keepalive PING. If a response is not received within this
* time period, the connection will be aborted.
*/
'timeout'?: (_google_protobuf_Duration | null);
/**
* A random jitter amount as a percentage of interval that will be added to each interval.
* A value of zero means there will be no jitter.
* The default value is 15%.
*/
'interval_jitter'?: (_envoy_type_v3_Percent | null);
/**
* If the connection has been idle for this duration, send a HTTP/2 ping ahead
* of new stream creation, to quickly detect dead connections.
* If this is zero, this type of PING will not be sent.
* If an interval ping is outstanding, a second ping will not be sent as the
* interval ping will determine if the connection is dead.
*/
'connection_idle_interval'?: (_google_protobuf_Duration | null);
}
export interface KeepaliveSettings__Output {
/**
* Send HTTP/2 PING frames at this period, in order to test that the connection is still alive.
* If this is zero, interval PINGs will not be sent.
*/
'interval': (_google_protobuf_Duration__Output | null);
/**
* How long to wait for a response to a keepalive PING. If a response is not received within this
* time period, the connection will be aborted.
*/
'timeout': (_google_protobuf_Duration__Output | null);
/**
* A random jitter amount as a percentage of interval that will be added to each interval.
* A value of zero means there will be no jitter.
* The default value is 15%.
*/
'interval_jitter': (_envoy_type_v3_Percent__Output | null);
/**
* If the connection has been idle for this duration, send a HTTP/2 ping ahead
* of new stream creation, to quickly detect dead connections.
* If this is zero, this type of PING will not be sent.
* If an interval ping is outstanding, a second ping will not be sent as the
* interval ping will determine if the connection is dead.
*/
'connection_idle_interval': (_google_protobuf_Duration__Output | null);
}