api

http4k / org.http4k.testing / ApprovalContent

ApprovalContent

interface ApprovalContent

Determines which parts of the HttpMessage will be compared.

Functions

Name Summary
invoke abstract operator fun invoke(input: InputStream): InputStream
abstract operator fun invoke(input: HttpMessage): InputStream

Companion Object Functions

Name Summary
EntireHttpMessage fun EntireHttpMessage(): ApprovalContent
HttpBodyOnly fun HttpBodyOnly(formatter: (String) -> String = { it }): ApprovalContent