api

http4k / org.http4k.servirtium / InteractionOptions / modify

modify

open fun modify(request: Request): Request

Modify received requests before they are stored. Use this to replace/remove dynamic parts of the message before serialisation.

open fun modify(response: Response): Response

Modify received responses before they are stored. Use this to replace/remove dynamic parts of the message before serialisation.