Package io.ktor.html
Types
class HtmlContent : WriteChannelContent Represents an OutgoingContent using |
|
open class Placeholder<TOuter> A placeholder that is inserted inside TOuter |
|
class PlaceholderItem<TOuter> : Placeholder<TOuter> Item of a placeholder list when it is expanded |
|
open class PlaceholderList<TOuter, TInner> Placeholder that can appear multiple times |
|
interface Template<in TOuter> A template that expands inside TOuter |
|
open class TemplatePlaceholder<TTemplate> A placeholder that is also a template |
Functions
fun <TOuter, TInner> TOuter.each( Inserts every element of placeholder list |
|
fun <TOuter> TOuter.insert( Inserts placeholder |
|
suspend fun ApplicationCall.respondHtml( Responds to a client with a HTML response, using specified block to build an HTML page |
|
suspend fun <TTemplate : Template<HTML>> ApplicationCall.respondHtmlTemplate( |