Skip

class Skip(val reason: String? = null, val byteSize: Long? = null) : BodyFilterResult(source)

Represents a body filtering result that skips processing for a specific reason.

This result indicates that the body should not be processed further. A reason for skipping can be optionally provided as well as the size of the body in bytes.

Report a problem

Constructors

Link copied to clipboard
constructor(reason: String? = null, byteSize: Long? = null)

Properties

Link copied to clipboard
open override val byteSize: Long?

The size of the body in bytes, or null if unknown.

Link copied to clipboard

An optional explanation for why the body processing was skipped.