evdispatch

Get Version

0.1.0

→ ‘evdispatch’

What

Installing

sudo gem install evdispatch

The basics

Demonstration of usage

require ‘evdispatch’

  1. create a new dispatch loop d = Evdispatch::Loop.new
  1. start the event loop thread d.start
  1. send a dispatch http request and store a handle to the request google_id = d.request_http(“http://www.google.com/”)
  1. do some processing and later on check for the response response = d.response( google_id )

puts response[:response_time] puts response[:body]

  1. sometime later you can stop the event loop d.stop

Forum

http://groups.google.com/group/evdispatch

How to submit patches

Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.

The trunk repository is svn://rubyforge.org/var/svn/evdispatch/trunk for anonymous access.

License

This code is free to use under the terms of the MIT license.

Contact

Comments are welcome. See the forum

Theme extended from Paul Battley