DataStatus

public struct DataStatus : OptionSet, Hashable

Types of Data Status

  • Declaration

    Swift

    public let rawValue: UInt8
  • Declaration

    Swift

    public init(rawValue: UInt8)
  • The response-header and entity-header fields were received in the HTTP response and stored in the HTTP Headers characteristic for the Client to read

    Declaration

    Swift

    public static let headersReceived: CharacteristicHTTPStatusCode.DataStatus
  • The response-header and entity-header fields exceeded 512 octets in length and the first 512 octets were saved in the HTTP Headers characteristic

    Declaration

    Swift

    public static let headersTruncated: CharacteristicHTTPStatusCode.DataStatus
  • The entity-body field was received in the HTTP response and stored in the HTTP Entity Body characteristic for the Client to read

    Declaration

    Swift

    public static let bodyReceived: CharacteristicHTTPStatusCode.DataStatus
  • The entity-body field exceeded 512 octets in length and the first 512 octets were saved in the HTTP Headers characteristic

    Declaration

    Swift

    public static let bodyTruncated: CharacteristicHTTPStatusCode.DataStatus