APIResponseEndpoint

public protocol APIResponseEndpoint : APIEndpoint

Endpoint protocol extending APIEndpoint having decodable associated type, which is used for automatic deserialization.

  • Associated type describing the return type conforming to Decodable protocol. This is only a phantom-type used by APIAdapter for automatic decoding/deserialization of API results.

    Declaration

    Swift

    associatedtype Response : Decodable