ktor-pebble
Module Contents
alltypes
Module Contents
class
Pebble
Module Contents
Pebble
(
engine
:
PebbleEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Builder
,
Pebble
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Builder
.
(
)
->
Unit
)
:
Pebble
val
key
:
AttributeKey
<
Pebble
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Builder
.
(
)
->
Unit
)
:
Pebble
val
key
:
AttributeKey
<
Pebble
>
class
PebbleContent
Module Contents
PebbleContent
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
locale
:
Locale
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
locale
:
Locale
?
val
model
:
Map
<
String
,
Any
>
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
locale
:
Locale
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset( Charsets.UTF_8 )
)
:
Unit
package
io.ktor.pebble
Module Contents
class
Pebble
Module Contents
Pebble
(
engine
:
PebbleEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Builder
,
Pebble
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Builder
.
(
)
->
Unit
)
:
Pebble
val
key
:
AttributeKey
<
Pebble
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Builder
.
(
)
->
Unit
)
:
Pebble
val
key
:
AttributeKey
<
Pebble
>
class
PebbleContent
Module Contents
PebbleContent
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
locale
:
Locale
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
locale
:
Locale
?
val
model
:
Map
<
String
,
Any
>
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
locale
:
Locale
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset( Charsets.UTF_8 )
)
:
Unit