BinaryResponse
public protocol BinaryResponse : Decodable
A response type that is initialized directly from binary data instead of JSON.
-
The binary payload returned by the endpoint.
Declaration
Swift
var data: Data { get } -
Creates a response from the raw payload returned by the server.
Declaration
Swift
static func from(data: Data) -> SelfParameters
dataThe data for the response.
View on GitHub