public class HtmlContent
Represents an OutgoingContent using kotlinx.html builder.
| Constructor and Description |
|---|
HtmlContent(io.ktor.http.HttpStatusCode status,
kotlin.jvm.functions.Function1<? super kotlinx.html.HTML,kotlin.Unit> builder)
Represents an OutgoingContent using
kotlinx.html builder. |
| Modifier and Type | Method and Description |
|---|---|
io.ktor.http.ContentType |
getContentType() |
io.ktor.http.HttpStatusCode |
getStatus() |
java.lang.Object |
writeTo(kotlinx.coroutines.io.ByteWriteChannel channel,
kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p) |