http_api 0.6.0
http_api: ^0.6.0 copied to clipboard
A simple yet powerful wrapper around http package with middleware support.
[0.6.0] - 06 September 2020. #
- Renamed current
DebugLink
class toLoggerLink
. - Added abstract
DebugLink
class. DebugLinks are special types of links that will never be chained (will be skipped) in release builds. - Replaced internal
ApiException
s withApiError
s.
[0.5.0] - 05 September 2020. #
- Added cache support.
- Added id property to ApiRequest and ApiResponse objects.
[0.4.2] - 03 June 2020. #
- Added
ok
property toApiResponse
- Added
redirect
property toApiResponse
[0.4.1] - 27 April 2020. #
- Added
FileField.fromStream
constructor.
[0.4.0] - 19 April 2020. #
BaseApi
now uses Uri path fromurl
argument (not only host) also port and queryParameters are coppied.- Added unit tests
[0.3.0] - 19 April 2020. #
Breaking changes #
- Renamed
ApiBase
toBaseApi
- Replaced
BaseApi
call
method withsend
method which accepts the argumentApiRequest
.
[0.2.0] - 18 April 2020. #
- Add example
- Fixed request duration bug (DebugLink)
[0.1.0+3] - 18 April 2020. #
- Initial release.