Added optional "HttpClient? inner" parametr for IoRestClient, allowing user to specify details of the http client (mainly proxy, but possibly low-level TCP/IP settings etc).
Added PATCH method. (facepalm)
Null safe.
Maintenance release, mental preparation for null safe jump.
- pedantic linter
- RestResult now allows you to access response headers.
- serializers can now modify outgoing headers
- HTTP methods (get, post, ...) never throw a HttpException, not even with 500 http status response
- method RestResult.assertSuccess() when you are not interested in response body (successData)
- More flexible serializers and deserializers. (Breaking api change if you implement your own custom serializers or deserializers)
- Added
urlWithParams
getter for simpler access to url rendered with parameters - Default json de/serializers now not throw on whitespace string
- Updated readme
Newer version of http client. Example.
Added support for streaming requests.
- Initial version