DEV Community

Discussion on: Building HTTP clients with Guzzle

Collapse
 
titasgailius profile image
Titas Gailius

I don't mind coupling it to Guzzle either although I personally got really used with the last example because as your client might get more complicated (request logging, different authentication strategies, handling failed requests, refreshing tokens, etc.), it is pretty cool that you can extract all of that stuff to dedicated classes.