class
GRPC::EndpointConfig
- GRPC::EndpointConfig
- Reference
- Object
Overview
EndpointConfig gathers channel-level transport and lifecycle settings. This is the primary configuration entry point for future connection manager work.
Defined in:
grpc/endpoint.crConstructors
Instance Method Summary
- #backoff : BackoffConfig
- #backoff=(backoff : BackoffConfig)
- #concurrency_limit : Int32 | Nil
- #concurrency_limit=(concurrency_limit : Int32 | Nil)
- #connect_timeout : Time::Span | Nil
- #connect_timeout=(connect_timeout : Time::Span | Nil)
- #keepalive : KeepaliveParams | Nil
- #keepalive=(keepalive : KeepaliveParams | Nil)
- #rate_limit : RateLimitConfig | Nil
- #rate_limit=(rate_limit : RateLimitConfig | Nil)
- #tcp_keepalive : Time::Span | Nil
- #tcp_keepalive=(tcp_keepalive : Time::Span | Nil)
Constructor Detail
def self.new(connect_timeout : Time::Span | Nil = nil, tcp_keepalive : Time::Span | Nil = nil, keepalive : KeepaliveParams | Nil = nil, concurrency_limit : Int32 | Nil = nil, rate_limit : RateLimitConfig | Nil = nil, backoff : BackoffConfig = BackoffConfig.new)
#