{"id":19010288,"url":"https://github.com/railsware/em-rest-client","last_synced_at":"2026-03-09T17:37:00.639Z","repository":{"id":62558012,"uuid":"60068742","full_name":"railsware/em-rest-client","owner":"railsware","description":"EventMachine::HttpRequest adapter for HTTP REST client","archived":false,"fork":false,"pushed_at":"2019-08-22T08:52:21.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-12-26T23:41:24.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/railsware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-31T07:46:36.000Z","updated_at":"2023-07-25T14:02:04.000Z","dependencies_parsed_at":"2022-11-03T06:30:52.297Z","dependency_job_id":null,"html_url":"https://github.com/railsware/em-rest-client","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/railsware/em-rest-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fem-rest-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fem-rest-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fem-rest-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fem-rest-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/railsware","download_url":"https://codeload.github.com/railsware/em-rest-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fem-rest-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30304736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T19:10:42.365Z","updated_at":"2026-03-09T17:37:00.623Z","avatar_url":"https://github.com/railsware.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# !!! LEGACY PROJECT !!!\n\nIs not supported anymore because we renamed and migrated it to new project.\n\nPlease use [rest-client-adapters](https://github.com/railsware/rest-client-adapters) instead.\n\n# EM-REST-Client\n\nThis gem allows to use different HTTP implementation in RestClient with next adapters:\n\n* `:net_http` - Net::HTTP (default, blocking I/O)\n* `:em_http` - EventMachine::HttpRequest (non-blocking I/0)\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'em-rest-client'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install em-rest-client\n\n## Usage\n\n\nYou may specify adapter for each request:\n\n```ruby\nRestClient.get('https://www.google.com')\nRestClient.get('https://www.google.com', adapter: :em_http)\n```\n\nOr you may specify adapter globaly:\n\n```ruby\nRestClient.adapter = :em_http\nRestClient.get('https://www.google.com')\n```\n\n## Notes\n\nWhen EventMachine is already running we assume that you are responsible for Fiber allocation.\nYou can add `Rack::FiberPool` to your application middleware and it automatically provides a Fiber for each incoming HTTP request. It creates pool of Fibers and re-use fiber for each incoming HTTP request. Also you can control the connection pool size.\n\n## Authors\n\n* [Andriy Yanko](http://ayanko.github.io)\n\n## References\n\n* https://github.com/rest-client/rest-client\n* https://github.com/igrigorik/em-http-request\n* https://github.com/alebsack/rack-fiber_pool\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fem-rest-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frailsware%2Fem-rest-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fem-rest-client/lists"}