This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
community
Support forum for this project is at http://groups.google.com/group/curb—-ruby-libcurl-bindings
building on ubuntu
the following .debs are required – libcurl3, libcurl3-gnutls, libcurl4-openssl-dev
Sending multiple requests
d1 = ""
c1 = Curl::Easy.new("http://www.google.com/") do |curl|
curl.headers["User-Agent"] = "myapp-0.0"
curl.on_body {|d| d1 << d; d.length }
end
d2 = ""
c2 = Curl::Easy.new("http://www.yahoo.com/") do |curl|
curl.headers["User-Agent"] = "myapp-0.0"
curl.on_body {|d| d2 << d; d.length }
end
m = Curl::Multi.new
m.add( c1 )
m.add( c2 )
m.perform







