Package-level declarations

Types

Link copied to clipboard
class Http4kChannelHandler(handler: HttpHandler) : SimpleChannelInboundHandler<FullHttpRequest>

Exposed to allow for insertion into a customised Netty server instance

Link copied to clipboard
class Http4kWsChannelHandler(wSocket: WsConsumer) : SimpleChannelInboundHandler<WebSocketFrame>
Link copied to clipboard
class Netty(port: Int = 8000, val stopMode: ServerConfig.StopMode) : PolyServerConfig

Stock version of an Netty Server. Not that if you want to configure your own server instance you can duplicate this code and modify it as required. We are purposefully trying to limit options here to keep the API simple for the 99% of use-cases.

Link copied to clipboard
class WebSocketServerHandler(wsHandler: WsHandler) : ChannelInboundHandlerAdapter