Sha256: c14a37f399720a104323e02d54c906380b01e58c0705ea7023676758751088bc
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 Bytes
Contents
# # Reference: https://github.com/morellon/stomp/wiki/extended-ssl-overview # require "rubygems" require "stomp" # # If you use SSLParams, and need the _default_ Ruby ciphers, this is how. # ssl_opts = Stomp::SSLParams.new(:use_ruby_ciphers => true) # # SSL Use Case: Using default Stomp ciphers # hash = { :hosts => [ {:login => 'guest', :passcode => 'guest', :host => 'localhost', :port => 61612, :ssl => ssl_opts}, ] } # puts "Connect starts, SSL Use Case X" c = Stomp::Connection.new(hash) puts "Connect completed" # c.disconnect
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stomp-1.2.2 | examples/ssl_ucx_default_ciphers.rb |
stomp-1.2.1 | examples/ssl_ucx_default_ciphers.rb |