You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following off of #88 , this thought needs its own issue...
More often than not, I reach for PhpGt/Fetch only because it's my own library, and not because it's the best tool for the job. I hardly ever actually need to make an asynchronous HTTP call, but I still work with Fetch so that I'm eating my own dogfood.
But if I'm always using it for a simple HTTP request, and I always want the HTTP body without anything else, there should be helper functions on the Http class (and possibly exposed globally like with #88).
Following off of #88 , this thought needs its own issue...
More often than not, I reach for PhpGt/Fetch only because it's my own library, and not because it's the best tool for the job. I hardly ever actually need to make an asynchronous HTTP call, but I still work with Fetch so that I'm eating my own dogfood.
But if I'm always using it for a simple HTTP request, and I always want the HTTP body without anything else, there should be helper functions on the
Http
class (and possibly exposed globally like with #88).My idea would allow something like this:
Rather than the current approach:
The text was updated successfully, but these errors were encountered: