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: Parameters<String, Any>? { get }
  • Undocumented

    Declaration

    Swift

    public var urlEncoded: Parameters<String, Any>? { get }
  • Undocumented

    Declaration

    Swift

    public func multipart(boundary: String) -> (Parameters<String, Any>?, Parameters<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 more

    Declaration

    Swift

    public struct File