Back to Alamofire

Completion

docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes/DataStreamRequest/Completion.html

5.12.0840 B
Original Source

Completion

public struct Completion : Sendable

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

`

                request
                `

Last URLRequest issued by the instance.

Declaration

Swift

public let request: URLRequest?

`

                response
                `

Last HTTPURLResponse received by the instance.

Declaration

Swift

public let response: HTTPURLResponse?

`

                metrics
                `

Last URLSessionTaskMetrics produced for the instance.

Declaration

Swift

public let metrics: URLSessionTaskMetrics?

`

                error
                `

AFError produced for the instance, if any.

Declaration

Swift

public let error: AFError?