ResponseLengthValidationInterceptor

An interceptor which compares the Content-Length header value against the length of the returned body. Throws an IllegalStateException if there is a mismatch.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend fun modifyBeforeDeserialization(context: <Error class: unknown class><Any, <Error class: unknown class>, <Error class: unknown class>>): <Error class: unknown class>