ktor-svelte
Toggle table of contents
1.4.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
ktor-svelte
ktor-svelte-server
/
io.github.nijasc.ktor.svelte
/
ResourceScope
Resource
Scope
class
ResourceScope
<
T
:
Any
,
ID
:
Any
>
(
source
)
Members
Functions
create
Link copied to clipboard
inline
fun
<
reified
I
:
Any
>
create
(
noinline
handler
:
suspend
RoutingContext
.
(
I
)
->
T
)
delete
Link copied to clipboard
fun
delete
(
handler
:
suspend
RoutingContext
.
(
ID
)
->
Boolean
)
get
Link copied to clipboard
fun
get
(
handler
:
suspend
RoutingContext
.
(
ID
)
->
T
?
)
list
Link copied to clipboard
fun
list
(
handler
:
suspend
RoutingContext
.
(
)
->
List
<
T
>
)
inline
fun
<
reified
Q
:
Any
>
list
(
noinline
handler
:
suspend
RoutingContext
.
(
Q
)
->
List
<
T
>
)
missing
Link copied to clipboard
inline
fun
<
reified
E
:
Any
>
missing
(
noinline
body
:
suspend
RoutingContext
.
(
)
->
E
)
update
Link copied to clipboard
inline
fun
<
reified
I
:
Any
>
update
(
noinline
handler
:
suspend
RoutingContext
.
(
ID
,
I
)
->
T
?
)