MIMEContentType

public enum MIMEContentType

Known content types as enum, for convenience.

  • Undocumented

    Declaration

    Swift

    case text
  • Undocumented

    Declaration

    Swift

    case html
  • Undocumented

    Declaration

    Swift

    case json
  • xml

    Undocumented

    Declaration

    Swift

    case xml
  • Undocumented

    Declaration

    Swift

    case form
  • Undocumented

    Declaration

    Swift

    case multipart(boundary: String)
  • Undocumented

    Declaration

    Swift

    case binary
  • Undocumented

    Declaration

    Swift

    case other(String)
  • Undocumented

    Declaration

    Swift

    public var isText: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isHTML: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isJSON: Bool { get }
  • xml

    Undocumented

    Declaration

    Swift

    public var xml: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isForm: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isMultipart: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isBinary: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isOther: Bool { get }
  • Undocumented

    Declaration

    Swift

    public init(mimeType: String?)
  • Undocumented

    Declaration

    Swift

    public var asString: String { get }