Closed bonkowski closed 2 years ago
After a good night sleep, I looked at the problem again. I based my code on the code found in the readme file, where the implementation of the delegate methods throws, which is not how they are defined. This explains why my metods didn't get called.
implementation of the delegate methods throws, which is not how they are defined
This is a recent change. I will create a new release soon.
Hi!
I'm trying to get Get to work in my current project, and have created a small struct implementing a simple call to our backend. I need to set a token in the header for each call, so I have implemented a APIClientDelegate like this: (more or less a copy of the sample in the readme)
The request I'm testing looks like this:
When calling testMe(), this us what is logged:
I would expect to see a call to the other delegate functions to get the neccessary token, but this is not the case. Any clue?