Enumeration Caseswift-nio 2.81.0NIOHTTP1
body(_:)
A part of an HTTP request or response’s body.
case body(BodyT)
Zero or more body parts can be sent or received. The stream is finished when an end(_:)
part is received.
A part of an HTTP request or response’s body.
case body(BodyT)
Zero or more body parts can be sent or received. The stream is finished when an end(_:)
part is received.
import NIOHTTP1
enum HTTPPart<HeadT, BodyT> where HeadT : Equatable, BodyT : Equatable
The parts of a complete HTTP message, representing either a request or a response.
case end(HTTPHeaders?)
The end of an HTTP request or response, optionally containing trailers.
case head(HeadT)
The headers of an HTTP request or response.