Interface GrpcServerConfiguration.GrpcServerNettyConfig

Enclosing interface:
GrpcServerConfiguration

public static interface GrpcServerConfiguration.GrpcServerNettyConfig
  • Method Details

    • keepAliveTime

      Optional<Duration> keepAliveTime()
      Sets a custom keep-alive duration. This configures the time before sending a `keepalive` ping when there is no read activity.
    • permitKeepAliveTime

      Optional<Duration> permitKeepAliveTime()
      Sets a custom permit-keep-alive duration. This configures the most aggressive keep-alive time clients are permitted to configure. The server will try to detect clients exceeding this rate and when detected will forcefully close the connection.
      See Also:
    • permitKeepAliveWithoutCalls

      Optional<Boolean> permitKeepAliveWithoutCalls()
      Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.