ktor-mustache
Module Contents
alltypes
Module Contents
class
Mustache
Module Contents
Mustache
(
configuration
:
Configuration
)
class
Configuration
Module Contents
Configuration
(
)
var
mustacheFactory
:
MustacheFactory
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Configuration
,
Mustache
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
Mustache
val
key
:
AttributeKey
<
Mustache
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
Mustache
val
key
:
AttributeKey
<
Mustache
>
class
MustacheContent
Module Contents
MustacheContent
(
template
:
String
,
model
:
Any
?
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Any
?
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Any
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset( Charsets.UTF_8 )
)
:
Unit
package
io.ktor.mustache
Module Contents
class
Mustache
Module Contents
Mustache
(
configuration
:
Configuration
)
class
Configuration
Module Contents
Configuration
(
)
var
mustacheFactory
:
MustacheFactory
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Configuration
,
Mustache
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
Mustache
val
key
:
AttributeKey
<
Mustache
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
Mustache
val
key
:
AttributeKey
<
Mustache
>
class
MustacheContent
Module Contents
MustacheContent
(
template
:
String
,
model
:
Any
?
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Any
?
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Any
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset( Charsets.UTF_8 )
)
:
Unit