Combine support
This patch includes:
- Support Combine framework use case.
- Rename the
getObjectVia(_:)
functions that need a specific generic typecasting from the JSON response. To avoid ambiguity, these functions now require aCodable
type as the parameter. for example, to receive the except value of typeSample
, we callget(Sample.self, from: request)
.