Http

object Http

Properties

Link copied to clipboard
Link copied to clipboard
const val MAX_CONTENT_LENGTH: Int = 65536
Link copied to clipboard

Functions

Link copied to clipboard
fun writeResponse(ctx: ChannelHandlerContext, request: HttpRequest, status: HttpResponseStatus)
fun writeResponse(ctx: ChannelHandlerContext, request: HttpRequest, content: ByteBuf, contentType: CharSequence)
fun writeResponse(ctx: ChannelHandlerContext, request: HttpRequest, content: FileRegion, contentType: CharSequence)