Sha256: 419b788f8d68054605842626b46bb763d698b5eaac61ca22a23b7d9b3e6bc307
Contents?: true
Size: 304 Bytes
Versions: 18
Compression:
Stored size: 304 Bytes
Contents
$: << '.' require File.dirname(__FILE__) + '/em-net-http' EM.run do Fiber.new do Net::HTTP.start('encrypted.google.com', :use_ssl=>true, :verify_mode => OpenSSL::SSL::VERIFY_NONE) do |http| res = http.get('/search?q=james') puts res.body end EM.stop_event_loop end.resume end
Version data entries
18 entries across 18 versions & 2 rubygems