Class: Arachni::RPC::Client::Base
- Inherits:
-
EM::Client
- Object
- EM::Client
- Arachni::RPC::Client::Base
- Defined in:
- lib/arachni/rpc/client/base.rb
Overview
@author: Tasos "Zapotek" Laskos
<tasos.laskos@gmail.com>
<zapotek@segfault.gr>
@version: 0.1
Instance Method Summary (collapse)
-
- (Base) initialize(opts, url, token = nil)
constructor
A new instance of Base.
Constructor Details
- (Base) initialize(opts, url, token = nil)
A new instance of Base
26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/arachni/rpc/client/base.rb', line 26 def initialize( opts, url, token = nil ) host, port = url.split( ':' ) super( :host => host, :port => port, :token => token, :keep_alive => false, :ssl_ca => opts.ssl_ca, :ssl_pkey => opts.node_ssl_pkey || opts.ssl_pkey, :ssl_cert => opts.node_ssl_cert || opts.ssl_cert ) end |