fnx_rest 4.1.1 copy "fnx_rest: ^4.1.1" to clipboard
fnx_rest: ^4.1.1 copied to clipboard

Angular and Flutter friendly RestClient, which will make your communication with REST APIs much simpler.

Changelog #

4.1.1 #

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).

4.1.0 #

Added PATCH method. (facepalm)

4.0.1 #

Null safe.

4.0.0 #

Maintenance release, mental preparation for null safe jump.

3.5.0 #

  • pedantic linter

3.2.0 #

  • RestResult now allows you to access response headers.

3.1.0 #

  • 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)

3.0.0 #

  • 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

2.2.0 #

Newer version of http client. Example.

2.1.0 #

Added support for streaming requests.

0.0.1 #

  • Initial version
10
likes
120
pub points
30%
popularity

Publisher

verified publisherfnx.io

Angular and Flutter friendly RestClient, which will make your communication with REST APIs much simpler.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

http, logging, pedantic

More

Packages that depend on fnx_rest