Sha256: 0bd9750405772829ca866f861e4c0d782362ebaff458c2b2a45b87082a3ca273
Contents?: true
Size: 318 Bytes
Versions: 14
Compression:
Stored size: 318 Bytes
Contents
Create a SSL Socket to a specified host and port: socket = ssl_connect('github.com',443) # => #<OpenSSL::SSL::SSLSocket:0x00000002f60458> Or create a temporary SSL Socket that automatically closes: ssl_socket('github.com',443) do |socket| socket.write("GET /\r\n") puts socket.read end
Version data entries
14 entries across 14 versions & 1 rubygems