Sha256: fee92ac5c3880e27083b48b01bd2b5d8b425704b4e3f5132e9e74d0dd6ad5e35

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

#!/usr/bin/env ruby
#
# Example of using the Http Gem with Celluloid::IO
# Make sure to 'gem install celluloid-io' before running
#
# Run as: bundle exec examples/celluloid.rb
#

require 'celluloid/io'
require 'http'

puts Http.get("https://www.google.com/", :socket_class => Celluloid::IO::TCPSocket, :ssl_socket_class => Celluloid::IO::SSLSocket)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
http-0.5.0.pre examples/celluloid.rb