"HTTPX is an HTTP client library for the Ruby programming language. Among its features, it supports: HTTP/2 and HTTP/1.x protocol versions Concurrent requests by default Simple and chainable API Proxy Support (HTTP(S), CONNECT tunnel, Socks4/4a/5) Simple Timeout System Lightweight by default (require what you need) And also: Compression (gzip, deflate, brotli) Streaming Requests Authentication (Basic Auth, Digest Auth, AWS Sigv4) Expect 100-continue Multipart Requests Cookies HTTP/2 Server Push H2C Upgrade Automatic follow redirects"
"While simple use cases of httpx being used inside a fiber scheduler (such as async) worked, a serious of issues were identified when connections were reused across fibers for multiple requests (such as when using the :persistent plugin). The :fiber_concurrency plugin fixes that, by bookkeeping which requests are being used in which fibers in order to avoid spurious wakeups and busy loops."
HTTPX 1.6.0 introduces a :fiber_concurrency plugin to manage connection reuse across fibers and prevent spurious wakeups and busy loops. The plugin tracks which requests run in which fibers and is loaded by default when using the :persistent plugin and the Faraday adapter. Proxy errors become retriable when the :retries plugin is used alongside the :proxy plugin. Options initialization performance is improved by caching option names in classes to avoid excessive object shape variations. HTTPX maintains extensive features including HTTP/2, concurrency by default, proxy and authentication support, compression, streaming, and many integrations.
Read at Rubyflow
Unable to calculate read time
Collection
[
|
...
]