class documentation

class KeepaliveOptions: (source)

View In Hierarchy

Explicit keepalive overrides for nebius.aio.channel.Channel.

Passing explicit options ignores NEBIUS_GRPC_KEEPALIVE_* environment variables. Omitted fields use SDK defaults. Set time_ms to 0 or pass keepalive=False to the channel constructor to disable SDK keepalive.

Instance Variable permit_without_stream Whether pings may be sent when there are no active RPC streams.
Instance Variable time_ms Interval between client keepalive pings in milliseconds. 0 disables SDK keepalive.
Instance Variable timeout_ms Timeout for a keepalive ping response in milliseconds.
permit_without_stream: bool | None = (source)

Whether pings may be sent when there are no active RPC streams.

time_ms: int | None = (source)

Interval between client keepalive pings in milliseconds. 0 disables SDK keepalive.

timeout_ms: int | None = (source)

Timeout for a keepalive ping response in milliseconds.