Sha256: 048479db92ee59bcb8ecbf5633d938062ac4538bcf44c2fdce80e46f68214c52
Contents?: true
Size: 278 Bytes
Versions: 3
Compression:
Stored size: 278 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'polyphony/http' t0 = Time.now io = Polyphony::Net.tcp_connect('google.com', 443, secure: true) io.write("GET / HTTP/1.0\r\nHost: realiteq.net\r\n\r\n") reply = io.read puts "time: #{Time.now - t0}" puts puts reply
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polyphony-0.19 | examples/http/https_raw_client.rb |
polyphony-0.17 | examples/http/https_raw_client.rb |
polyphony-0.16 | examples/http/https_raw_client.rb |