ProgressResponse

public struct ProgressResponse

A type representing the progress of a request.

  • The optional response of the request.

    Declaration

    Swift

    public let response: Response?
  • An object that conveys ongoing progress for a given request.

    Declaration

    Swift

    public let progressObject: Progress?
  • Initializes a ProgressResponse.

    Declaration

    Swift

    public init(progress: Progress? = nil, response: Response? = nil)
  • The fraction of the overall work completed by the progress object.

    Declaration

    Swift

    public var progress: Double { get }
  • A Boolean value stating whether the request is completed.

    Declaration

    Swift

    public var completed: Bool { get }