InlineImages

sealed class InlineImages(source)

Controls whether inline-image protocol payloads are accepted. File dimensions must be available within the first 32 KiB; malformed or unsupported images are ignored. This header limit does not cap payload size.

Inheritors

Types

Link copied to clipboard
data class Ask(val limits: InlineImageLimits = InlineImageLimits(), val confirm: suspend (InlineImageRequest) -> Boolean) : InlineImages

Inspect bounded image metadata and reserve layout as data arrives. Pixel decoding and display require approval; denial leaves the reserved space.

Link copied to clipboard
data object Off : InlineImages
Link copied to clipboard
data class On(val limits: InlineImageLimits = InlineImageLimits()) : InlineImages