Registry / http-client / async-http

async-http

JSON →
library0.95.1rbrubygemsunverified

A HTTP client and server library built on the async ecosystem.

gem install async-http
INSTALL
IMPORT
SIG · ASYNC-HTTP
A
async-http
http-clientrubyv0.95.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Async::HTTP
require 'async/http'

Make an asynchronous HTTP GET request.

require 'async/http' Async do client = Async::HTTP::Client.new(URI.parse('https://example.com')) response = client.get('/') puts response.read end
Debug
Known issues
breakingRequires Ruby 2.5+ and the async gem; not compatible with older Ruby versions.
fix
Upgrade to Ruby 2.5 or later and add 'async' to your Gemfile.
affects: < 0.95.0
Upgrade
Version history
0.95.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
42
OpenAI (training)
1
Resources
async-http — gem install async-http · libregistry