Project

yawn

0.0
No commit activity in last 3 years
No release in over 3 years
async http
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9

Runtime

 Project Readme

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 |curl_easy_object|
  # optional callback does something with response
end

Copyright © 2009-2010 Kyle Maxwell. MIT Licensed.