AF.request
instead of Alamofire.request
. We’re still working on the rest of the documentation, so let us know if you have any usage questions, either here or on our Swift Forums.
Encodable
parameters and not just [String: Any]
dictionaries, use those if you can.
feature/initial-combine-support
branch.
AnyDecodable
should only really be necessary for heterogenous collections, not for your response handling.
Single<Data>
where Data could be either an Error or a response's data that will then be decoded afterwards into some sort of object T. However, I'm unsure if this is necessary anymore as unless I'm misunderstanding, publishDecodable attempts to decode via the decoder in that function