alamofire-request Questions
0
I append failed requests to queue manager (contains array) in case of no connection
I'm presenting a custom pop-up with a retry button. When the retry button is pressed, I want to retry the request...
Patagium asked 7/3, 2022 at 14:25
3
Solved
now I'm working on an iOS application in Swift 4. Here I'm using Alamofire to integrate the API calls. I need to integrate the right way to auto-refresh the authentication token and retry the previ...
Cryo asked 10/7, 2019 at 5:9
3
Solved
I have the current function which works. I'm using it with completion handler:
func getTokenBalances(completion: @escaping (Bool) -> Void) {
guard let url = URL(string: "someApiUrlFromLost...
Lesseps asked 7/8, 2021 at 18:3
1
Generic type 'DataResponse' specialized with too few type parameters (got 1, but expected 2)
Updating to Alamofire 4.5 broke the syntax. How should I reformat my code in order for it to work?
What I have:
func getAllBeacons(completionHandler: @escaping ([BeaconModel]) -> ()) {
let UR...
Shiflett asked 6/3, 2020 at 9:28
1
Solved
I'm building an iOS app and I need to run an HTTP request and process the response body.
The problem is that my request-url is not giving the same response body when I test it out in Postman / Ala...
Northman asked 16/8, 2019 at 19:48
1
© 2022 - 2024 — McMap. All rights reserved.