dlang-requests 1.0.0
ikod
geller.garry at gmail.com
Wed Oct 24 14:30:57 UTC 2018
Hello,
1.0.0 release adds "Interceptors" (or middleware). You can
instrument whole library or single request with logging,
modifying, caching methods without changes in your (or this
library) code. Together with configurable "socket fabric" it
gives more control over request execution when you need it.
This change required some minor changes in API (and that is why
this is major new release):
for streaming requests two properties moved from Request
structure to Response (which is anyway looks more natural)
Low level interfaces HTTPRequest and FTPRequest are deprecated
Request structure now looks much more like session (keep
configuration parameters and all persistent data - cookie,
permanent redirect cache, connection pool)
This release involve substantial code changes, so, please post
bug reports to github page (see below).
dlang-requests - HTTP client library, inspired by python-requests
with goals:
small memory footprint
performance
simple, high level API
native D implementation
https://github.com/ikod/dlang-requests
https://code.dlang.org/packages/requests
More information about the Digitalmars-d-announce
mailing list