HttpBody
public struct HttpBody : Sendable
Undocumented
-
Undocumented
Declaration
Swift
public private(set) var used: Bool { get }
-
Undocumented
Declaration
Swift
public mutating func append(_ source: HttpBody) throws
-
Undocumented
Declaration
Swift
public mutating func close() throws
-
Undocumented
Declaration
Swift
@discardableResult public mutating func write(_ bytes: [UInt8], location: BodyWriteEnd = .back) throws -> Int
-
Undocumented
Declaration
Swift
public mutating func next(highWaterMark: Int = highWaterMark) throws -> [UInt8]
-
Undocumented
Declaration
Swift
public mutating func read(highWaterMark: Int = highWaterMark, onChunk: ([UInt8]) throws -> BodyScanContinuation) throws