UnexpectedInputStreamLength

public struct UnexpectedInputStreamLength : Error

Represents unexpected input stream length that occur when encoding the MultipartFormData. Instances will be embedded within an AFError.multipartEncodingFailed .inputStreamReadFailed case.

  • The expected byte count to read.

    Declaration

    Swift

    public var bytesExpected: UInt64
  • The actual byte count read.

    Declaration

    Swift

    public var bytesRead: UInt64