Completion

public struct Completion

Value containing the state of a DataStreamRequest when the stream was completed.

  • Last URLRequest issued by the instance.

    Declaration

    Swift

    public let request: URLRequest?
  • Last HTTPURLResponse received by the instance.

    Declaration

    Swift

    public let response: HTTPURLResponse?
  • Last URLSessionTaskMetrics produced for the instance.

    Declaration

    Swift

    public let metrics: URLSessionTaskMetrics?
  • AFError produced for the instance, if any.

    Declaration

    Swift

    public let error: AFError?