Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 9 lines (7 sloc) 0.142 kb
90db881 * renamed http-access2 -> httpclient (HTTPAccess2::Client -> HTTPClient...
nahi authored
1 require 'httpclient'
d5613d7 * added samples for async interface. closes #157.
nahi authored
2
90db881 * renamed http-access2 -> httpclient (HTTPAccess2::Client -> HTTPClient...
nahi authored
3 c = HTTPClient.new
792bbbb * added RDoc to httpclient.rb. see #162.
nahi authored
4 conn = c.get_async("http://dev.ctor.org/")
d5613d7 * added samples for async interface. closes #157.
nahi authored
5 io = conn.pop.content
6 while str = io.read(40)
7 p str
8 end
Something went wrong with that request. Please try again.