Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added note about libcurl

  • Loading branch information...
commit 4a204dd70b8d41eb9dfd9ec977a3bf6d4d16e775 1 parent 6cf2f56
Paul Dix pauldix authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  README.textile
3  README.textile
Source Rendered
@@ -163,6 +163,9 @@ response = Typhoeus::Request.get("http://twitter.com/statuses/followers.json",
163 163 :headers => {"Authorization" => "Basic #{Base64.b64encode("#{username}:#{password}")}"})
164 164 </pre>
165 165
  166 +*LibCurl*
  167 +Typhoeus also has a more raw libcurl interface. These are the Easy and Multi objects. If you're into accessing just the raw libcurl style, those are your best bet.
  168 +
166 169 h2. Benchmarks
167 170
168 171 I set up a benchmark to test how the parallel performance works vs Ruby's built in NET::HTTP. The setup was a local evented HTTP server that would take a request, sleep for 500 milliseconds and then issued a blank response. I set up the client to call this 20 times. Here are the results:

0 comments on commit 4a204dd

Please sign in to comment.
Something went wrong with that request. Please try again.