DEBSOURCES
Skip Quicknav
sources / libhttp-access2-ruby / 2.1.5.2-2 / sample / async.rb
12345678
require 'httpclient' c = HTTPClient.new conn = c.get_async("http://dev.ctor.org/") io = conn.pop.content while str = io.read(40) p str end