delete

inline fun <T : Any> Route.delete(noinline body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route

Registers a typed handler body for a DELETE location defined by class T.

Class Tmust be annotated with Location.

Parameters

body

receives an instance of typed location T as first parameter.