class GRPC::KeepaliveParams

Overview

KeepaliveParams controls transport-level keepalive behaviour.

Defined in:

grpc/endpoint.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interval : Time::Span = 30.seconds, timeout : Time::Span = 10.seconds, permit_without_calls : Bool = false) #

[View source]

Instance Method Detail

def interval : Time::Span #

[View source]
def interval=(interval : Time::Span) #

[View source]
def permit_without_calls=(permit_without_calls : Bool) #

[View source]
def permit_without_calls? : Bool #

[View source]
def timeout : Time::Span #

[View source]
def timeout=(timeout : Time::Span) #

[View source]