I've been quietly working on Typhoeus for the last few months. With the help of Wilson Bilkovich and David Balatero I've finished what I think is a significant improvement to the library. The new interface removes all the magic and opts instead for clarity.
It's really slick and includes improved stubing support, caching, memoization, and (of course) parallelism. The Typhoeus readme highlights all of the awesomeness. It should be noted that the old interface of including Typhoeus into classes and defining remote methods has been deprecated. I'll be removing that sometime in the next six months.
In addition to thanking everyone using the library and everyone contributing, I should also thank my employer kgbweb. If you're a solid Rubyist that likes parsing, crawling, and stuff, or a machine learning guy, or a Solr/Lucene/indexing bad ass, let me know. We need you and we're doing some crazy awesome stuff.
I love the new api. In this example
response = Typhoeus::Request.get("http://www.pauldix.net")
if i was instead to do
response = Typhoeus::Request.get("https://www.pauldix.net")
would it be clever enough to use ssl and port 443? if it did that would be awesome.
Posted by: quinn shanahan | October 29, 2009 at 07:26 PM
I'm pretty sure it does that. At least, I think libcurl does that automagically.
Posted by: Paul Dix | October 29, 2009 at 09:54 PM
can I do HEAD requests using typhoeus ?
Posted by: Stockbaat | November 23, 2009 at 03:43 AM
The main Hydra, Request interface doesn't, but using the basic Easy object should work for HEAD requests.
Posted by: Paul Dix | November 27, 2009 at 03:37 PM
I'm loving your work, kudos...
Posted by: Chris | November 28, 2009 at 12:23 AM