sttp.tapir.server.netty.internal.ws
Members list
Type members
Classlikes
class NettyControlFrameHandler(ignorePong: Boolean, autoPongOnPing: Boolean, decodeCloseRequests: Boolean) extends ChannelInboundHandlerAdapter
Handles Ping, Pong, and Close frames for WebSockets.
Handles Ping, Pong, and Close frames for WebSockets.
Attributes
- Supertypes
-
class ChannelInboundHandlerAdaptertrait ChannelInboundHandlerclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
class WebSocketAutoPingHandler(pingInterval: FiniteDuration, frame: Ping) extends ChannelInboundHandlerAdapter
If auto ping is enabled for an endpoint, this handler will be plugged into the pipeline. Its responsibility is to manage start and stop of the ping scheduler.
If auto ping is enabled for an endpoint, this handler will be plugged into the pipeline. Its responsibility is to manage start and stop of the ping scheduler.
Value parameters
- frame
-
desired content of the Ping frame, as specified in the Tapir endpoint output.
- pingInterval
-
time interval to be used between sending pings to the client.
Attributes
- Supertypes
-
class ChannelInboundHandlerAdaptertrait ChannelInboundHandlerclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
object WebSocketFrameConverters
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
In this article