http4k / org.http4k.testing / ApprovalContent
interface ApprovalContent
Determines which parts of the HttpMessage will be compared.
Name | Summary |
---|---|
invoke | abstract operator fun invoke(input: InputStream ): InputStream abstract operator fun invoke(input: HttpMessage ): InputStream |
Name | Summary |
---|---|
EntireHttpMessage | fun EntireHttpMessage(): ApprovalContent |
HttpBodyOnly | fun HttpBodyOnly(formatter: ( String ) -> String = { it }): ApprovalContent |