1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 05:25:58 +00:00

improvements to the x/client package

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-01-23 00:47:26 +02:00
parent f633ab4b99
commit 4a1f0b6e9e
5 changed files with 157 additions and 4 deletions

View File

@@ -28,6 +28,9 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- New `RegisterRequestHandler` package-level and client methods to the new `x/client` package. Control or log the request-response lifecycle.
- New `RateLimit` HTTP Client option to the new `x/client` package.
- Push a security fix reported by [Kirill Efimov](https://github.com/kirill89) for older go runtimes.
- New `Configuration.Timeout` and `Configuration.TimeoutMessage` fields. Use it to set HTTP timeouts. Note that your http server's (`Application.ConfigureHost`) Read/Write timeouts should be a bit higher than the `Configuration.Timeout` in order to give some time to http timeout handler to kick in and be able to send the `Configuration.TimeoutMessage` properly.