Body
public struct Body : Encodable
extension Body: Equatable
extension Body: CustomStringConvertible
Undocumented
-
Undocumented
Declaration
Swift
public var bytes: [UInt8] { get }
-
Undocumented
Declaration
Swift
public var data: Data { get }
-
Undocumented
Declaration
Swift
public var string: String { get }
-
Undocumented
Declaration
Swift
public var count: Int { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }
-
Undocumented
Declaration
Swift
public init(bytes: [UInt8] = .init())
-
Undocumented
Declaration
Swift
public init(data: Data)
-
Undocumented
Declaration
Swift
public init(string: String)
-
Undocumented
Declaration
Swift
public var json: [String : Any?] { get }
-
Undocumented
Declaration
Swift
public var urlEncoded: [String : AnyEncodable] { get }
-
Undocumented
Declaration
Swift
public func multipart(boundary: String) -> ([String : AnyEncodable], [String : File])
-
Undocumented
Declaration
Swift
public mutating func append(bytes: [UInt8])
-
Undocumented
Declaration
Swift
public mutating func append(data: Data)
-
Undocumented
Declaration
Swift
public mutating func append(string: String)
-
Declaration
Swift
public static func == (lhs: Body, rhs: Body) -> Bool
-
Declaration
Swift
public var description: String { get }
-
Undocumented
See moreDeclaration
Swift
public struct File : Encodable