Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change client creation to allow override #24

Conversation

GrzegorzDrozd
Copy link
Contributor

The SitemapParser constructor now accepts a GuzzleHttp client as a parameter, improving flexibility and testability

The README and composer.json have been updated to suggest middleware for automatic retries on failed requests, and for throttling requests to prevent rate limit issues. Detailed instructions for implementation of these middlewares have been added to the README file.

Grzegorz Drozd added 6 commits November 23, 2023 14:37
The SitemapParser constructor now accepts a GuzzleHttp client as a parameter, improving flexibility and testability
…for automatic retries on failed requests, and for throttling requests to prevent rate limit issues. Detailed instructions for implementation of these middlewares have been added to the README file.
The commit includes the addition of the "gmponos/guzzle-log-middleware" library in the composer.json file and the detailed instructions to use it in the README.md. This addition would enhance the application's logging and debugging abilities.
@JanPetterMG JanPetterMG merged commit c414ec3 into VIPnytt:master Nov 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants