Package io.quarkus.grpc.runtime.config
Interface GrpcServerConfiguration.GrpcServerNettyConfig
- Enclosing interface:
GrpcServerConfiguration
public static interface GrpcServerConfiguration.GrpcServerNettyConfig
-
Method Summary
Modifier and TypeMethodDescriptionSets a custom keep-alive duration.Sets a custom permit-keep-alive duration.Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
-
Method Details
-
keepAliveTime
Sets a custom keep-alive duration. This configures the time before sending a `keepalive` ping when there is no read activity. -
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
Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
-