schttp 5.0.0-alpha.3 schttp: ^5.0.0-alpha.3 copied to clipboard
A simple HTTP client supporting a cache.
5.0.0-alpha.3 #
- Added
SCacheClient
- Removed
forceCache
andforceBinCache
; useSCacheClient
instead - Everything now uses
bom
to figure out the charset if isn't provided directly
4.1.0 #
- Added support for custom
headers
togetBin
andgetBinUri
4.0.0 #
- A better API for
post
andpostUri
readCache
andwriteCache
now default totrue
ingetBin
andgetBinUri
- Missing
ttl
s now get passed onto theget cache
functions, so you can handle them yourself - Added
getPostCache
andsetPostCache
to also outsource the id generation - Adjusted the caching APIs to operate on
Uri
s instead ofString
s for urls - Changed the charset matching behavior to make more sense for most use-cases
3.3.0 #
getBinCache
,setBinCache
andforceBinCache
for opt-in binary cachingdefaultCharset
andforcedCharset
for better charset matching (useful for dealing with weird servers)
3.2.1 #
- Switched from
dart:io
touniversal_io
to support Web apps
3.2.0 #
- Added support for custom
headers
toget
andgetUri
3.1.0 #
- Added
forceCache
to force caching even though some library might not want you to
3.0.0 #
- Added support for Proxies and custom User Agents
- Made
getCache
andsetCache
named parameters instead of positional ones - Added
getBin
andgetBinUri
for binary data
2.0.0 #
- Renamed
get
togetUri
- Renamed
post
topostUri
- Added
get
- Added
post
1.1.0 #
- Made
getCache
andsetCache
non-nullable (if this breaks your code, your code's wrong) - Added readCache and writeCache parameters to disable caching dynamically
1.0.0-nullsafety.0 #
- Null-safety
0.2.0 #
- Support for using US-ASCII and Latin-1 when the server sends it.
0.1.0 #
- Initial release: copied from Amplessimus, can GET and POST text with caching