NotarizedLocation
This version of notarized routes leverages the Ktor io.ktor.locations.Locations plugin to provide type safe access to all path and query parameters.
Functions
Link copied to clipboard
inline fun <TParam : Any, TResp : Any> Route.notarizedDelete(info: DeleteInfo<TParam, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route
Content copied to clipboard
Notarization for an HTTP POST request leveraging the Ktor io.ktor.locations.Locations plugin
Link copied to clipboard
inline fun <TParam : Any, TResp : Any> Route.notarizedGet(info: GetInfo<TParam, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route
Content copied to clipboard
Notarization for an HTTP GET request leveraging the Ktor io.ktor.locations.Locations plugin
Link copied to clipboard
inline fun <TParam : Any, TReq : Any, TResp : Any> Route.notarizedPost(info: PostInfo<TParam, TReq, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route
Content copied to clipboard
Notarization for an HTTP POST request leveraging the Ktor io.ktor.locations.Locations plugin
Link copied to clipboard
inline fun <TParam : Any, TReq : Any, TResp : Any> Route.notarizedPut(info: PutInfo<TParam, TReq, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route
Content copied to clipboard
Notarization for an HTTP Delete request leveraging the Ktor io.ktor.locations.Locations plugin