Skip to content

Conversation

@xurshudyan
Copy link
Contributor

This pull request introduces the preventingStrayRequests method, which allows developers to check whether the system is configured to prevent real (stray) API requests. The method is useful in testing environments to ensure all requests are faked and can be used in production or development environments to conditionally log, debug, or handle requests.

@xurshudyan xurshudyan changed the title Add helper method to determine stray request prevention state [11.x] Add helper method to determine stray request prevention state Oct 18, 2024
@taylorotwell taylorotwell merged commit 6ff9ae1 into laravel:11.x Oct 21, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants