digitalmars.D.announce - dlang-requests 1.0.0
- ikod (24/24) Oct 24 2018 Hello,
- Arun Chandrasekaran (2/9) Oct 24 2018 Thanks you! dlang-requests is a fantastic library.
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
Oct 24 2018
On Wednesday, 24 October 2018 at 14:30:57 UTC, ikod wrote: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. [...]Thanks you! dlang-requests is a fantastic library.
Oct 24 2018