Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Structure

RequestBodyPartiallyConsumed

Thrown by collect(max:) when something already took bytes off the stream.
struct RequestBodyPartiallyConsumed

Overview

A body is single-consumer, so what remains is not the whole body. Collecting it anyway would hand back a silently truncated body — the failure mode this replaces.

Topics

Default Implementations

Relationships

Conforms To

  • AbortError
  • Swift.Copyable
  • Swift.Error
  • Swift.Escapable
  • Swift.Sendable
  • Swift.SendableMetatype