{"id":94185,"library":"em-net-http","title":"EM Net::HTTP","description":"Monkeypatching Net::HTTP to use em-http-request under the hood for EventMachine integration.","status":"active","version":"0.3.10","language":"ruby","source_language":null,"source_url":"https://github.com/jfairbairn/em-net-http","tags":["eventmachine","http","async","net-http"],"install":[{"cmd":"gem install em-net-http","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'em-net-http', '~> 0.3.10'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"EMNetHTTP","correct":"require 'em-net-http'"}],"quickstart":{"code":"require 'em-net-http'\nrequire 'net/http'\nEM.run do\n  Net::HTTP.get('example.com', '/') do |response|\n    puts response.body\n    EM.stop\n  end\nend","lang":"ruby","description":"Use Net::HTTP asynchronously with EventMachine"},"warnings":[{"fix":"Use with caution in applications with multiple HTTP libraries","message":"Monkeypatches Net::HTTP globally, which may affect other libraries","severity":"breaking","affected_versions":">= 0.1.0"},{"fix":"Wrap usage inside EM.run block","message":"Requires EventMachine to be running","severity":"gotcha","affected_versions":">= 0.1.0"}],"env_vars":null,"search_vec":"'async':21 'em':1,10 'em-http-request':9 'eventmachin':17,19 'hood':15 'http':3,6,11,20,24 'integr':18 'monkeypatch':4 'net':2,5,23 'net-http':22 'request':12 'use':8","created_at":"2026-06-19T10:02:22.817030+00:00","updated_at":"2026-06-19T10:02:22.817030+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/jfairbairn/em-net-http","github":"https://github.com/jfairbairn/em-net-http","docs":"http://www.rubydoc.info/gems/em-net-http/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}