BeforeResponseTransform
class BeforeResponseTransform<T : Any>(clazz: KClass<T>) : Hook<suspend (call: ApplicationCall, body: T) -> Any>
A hook that is invoked before Transform
phase. Useful for some plugins which used for templates as views within application.
Functions
Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, handler: suspend (call: ApplicationCall, body: T) -> Any)
Specifies how to install a hook in the pipeline.