could you just post your method here? This is the ...
# http4k
d
could you just post your method here? This is the current version:
Copy code
override fun channelRead0(ctx: ChannelHandlerContext, request: FullHttpRequest) {
        if (request.decoderResult() == SUCCESS) {
            ctx.writeAndFlush(safeHandler(request.asRequest()).asNettyResponse()).addListener {
                ctx.close()
            }
        } else {
            ctx.writeAndFlush(safeHandler(request.asRequest()).asNettyResponse())
            ctx.close()
        }
    }