class GRPC::EndpointConfig

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.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def backoff : BackoffConfig #

[View source]
def backoff=(backoff : BackoffConfig) #

[View source]
def concurrency_limit : Int32 | Nil #

[View source]
def concurrency_limit=(concurrency_limit : Int32 | Nil) #

[View source]
def connect_timeout : Time::Span | Nil #

[View source]
def connect_timeout=(connect_timeout : Time::Span | Nil) #

[View source]
def keepalive : KeepaliveParams | Nil #

[View source]
def keepalive=(keepalive : KeepaliveParams | Nil) #

[View source]
def rate_limit : RateLimitConfig | Nil #

[View source]
def rate_limit=(rate_limit : RateLimitConfig | Nil) #

[View source]
def tcp_keepalive : Time::Span | Nil #

[View source]
def tcp_keepalive=(tcp_keepalive : Time::Span | Nil) #

[View source]