ktor. server. plugins. doublereceive
A plugin that provides the ability to receive a request body several times with no RequestAlreadyConsumedException exception. This might be useful if a plugin is already consumed a request body, so you cannot receive it inside a route handler. For example, you can use
DoubleReceive to log a request body using the
CallLogging plugin and then receive a body one more time inside the
post route handler.