Http4kWsHeartbeatHandler

class Http4kWsHeartbeatHandler : ChannelInboundHandlerAdapter(source)

Configure the server-initiated heartbeat. Send a PING when the server writer is idle. Close the connection if the server reader is idle (i.e. the client never responsed with a PONG)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun channelActive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelInactive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRead(ctx: ChannelHandlerContext?, msg: Any?)
Link copied to clipboard
open fun channelReadComplete(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRegistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelUnregistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelWritabilityChanged(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun exceptionCaught(ctx: ChannelHandlerContext?, cause: Throwable?)
Link copied to clipboard
open fun handlerAdded(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerRemoved(ctx: ChannelHandlerContext?)
Link copied to clipboard
open override fun userEventTriggered(ctx: ChannelHandlerContext, evt: Any)