DefaultTag

public struct DefaultTag

Default tags for RSTaggedData.tag

Note

These are defaulted to MIME types, though they can be set to any other string
  • Mimetype for a chat message, default text/plain; charset=utf-8

    Declaration

    Swift

    public static var Chat: String
  • Mimetype for a byte array, default application/octet-stream

    Declaration

    Swift

    public static var Bytes: String
  • Log

    Mimetype for a log message, default text/plain; charset=utf-8

    Declaration

    Swift

    public static var Log: String
  • Mimetype for a JSON-encoded object, default application/json

    Declaration

    Swift

    public static var Object: String