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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user