ResponseSent

object ResponseSent : Hook<(ApplicationCall) -> Unit>

A hook that is invoked when response was successfully sent to a client. Useful for cleaning up opened resources or finishing measurements.

Functions

Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, handler: (ApplicationCall) -> Unit)

Specifies how to install a hook in the pipeline.