This is a fork of Ilya Gregoriks em-http-request, ported to ZMachine. Furthermore stuff like socksify has been removed as it is not needed for our simple http client use case.

Gem Version Build Status Code Climate Dependency Status


Add this line to your application's Gemfile:

gem 'z-http-request'

And then execute:

$ bundle

Or install it yourself as:

$ gem install z-http-request


Z-HTTP-Request is mostly API compatible with em-http-request and EventMachine. Replace EM / EventMachine with ZMachine in your code and it should work out of the box.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request