Closed franciscogouveia closed 9 years ago
The changes I've made are stable now for a hapi 8 release. Refactored also the testserver.js file with hapi 8 code.
To test it:
node tests/testserver.js
When the limit is reached, the following response is given (as expected):
{"statusCode":429,"error":"Too Many Requests","message":"Rate limit exceeded"}
Note: might be not backward compatible with older versions of hapi.
Awesome Thank!
The changes I've made are stable now for a hapi 8 release. Refactored also the testserver.js file with hapi 8 code.
To test it:
When the limit is reached, the following response is given (as expected):
Note: might be not backward compatible with older versions of hapi.