= evdispatch

* http://rubyforge.org/projects/evdispatch/

== DESCRIPTION:

A high performance event based network request library. Send requests to a
background thread running an event loop based on libev. Designed to make
multiple simultaneous requests while performing other foreground tasks.

== FEATURES

* Support high concurrency HTTP requests

== PROBLEMS:

* Add support to select responses from a pipe instead of having it all buffer
directly in memory

== SYNOPSIS:

FIX (code sample of usage)

== REQUIREMENTS:

Using ruby dispatch interface:

require 'evdispatch'

# create a new dispatch loop
d = Evdispatch::Loop.new

# start the event loop thread

# 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[:body]

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

== INSTALL:

sudo gem install evdispatch

== LICENSE:

(The MIT License)

Copyright (c) 2008 Todd A. Fisher

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.