h1. evdispatch
sudo gem install evdispatchh2. The basics h2. Demonstration of usage
require 'rubygems' require 'evdispatch' # create a new dispatch loop d = Evdispatch::Loop.new # start the event loop thread d.start # send a dispatch http request and store a handle to the request google_id = d.request_http("http://www.google.com/") # do some processing and later on check for the response response = d.response( google_id ) puts response[:response_time] puts response[:body] # sometime later you can stop the event loop d.stoph2. Forum "http://groups.google.com/group/evdispatch":http://groups.google.com/group/evdispatch h2. How to submit patches Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above. The trunk repository is http://evdispatch.rubyforge.org/svn/trunk for anonymous access. h2. F.A.Q.
You need to have at least version 7.16 of libcurl. I recommend at least version: 7.18.1.