fizx / yawn

Send and forget http library for ruby.

This URL has Read+Write access

yawn /
name age message
file .document Loading commit data...
file .gitignore
file LICENSE
file README.rdoc
file Rakefile
file VERSION
directory lib/
directory spec/
README.rdoc

yawn

Yawn is asynchronous HTTP. It’s suitable for sending requests that you don’t want to block your application with. I’m using it to send error notifications and logging information. I just want to send requests without worrying about my app dying if the other side goes down.

  y = Yawn.new
  y.get "http://google.com"
  y.post("http://example.com", "some data") do |response|
    # optional callback does something with response
  end

Copyright

Copyright © 2009 Kyle Maxwell. MIT Licensed.