ReadableBody
public actor ReadableBody
Undocumented
-
Undocumented
Declaration
Swift
public var used: Bool { get }
-
Undocumented
Declaration
Swift
public func close() throws
-
Undocumented
Declaration
Swift
public func pipeTo(isolated _ dest: inout WritableBody, preventClose: Bool = false) throws
-
Undocumented
Declaration
Swift
public func decode<T>(_ type: T.Type, decoder: JSONDecoder = .init()) throws -> T where T : Decodable
-
Undocumented
Declaration
Swift
public func json() throws -> Any
-
Undocumented
Declaration
Swift
public func text() throws -> String
-
Undocumented
Declaration
Swift
public func data() throws -> Data
-
Undocumented
Declaration
Swift
public func bytes() throws -> [UInt8]