STRUCT
public struct AnalyticsResultDecoder: AnalyticsResultDecoderProtocol
Decodes the data from the
URLSession
data task into anAnalyticsResult
.
public init()
public func decode(_ data: Data) -> AnalyticsResult
Decodes the data from
URLSession
into anAnalyticsResult
.
- Parameter data: The
URLSession
data task.
Name | Description |
---|---|
data | The URLSession data task. |