Class: Arachni::RPC::Client::Base
- Inherits:
 - 
      Arachni::RPC::Client
      
        
- Object
 - Arachni::RPC::Client
 - Arachni::RPC::Client::Base
 
 
- Defined in:
 - lib/arachni/rpc/client/base.rb
 
Overview
Instance Attribute Summary collapse
- 
  
    
      #url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute url.
 
Instance Method Summary collapse
- 
  
    
      #initialize(options, url, token = nil)  ⇒ Base 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Base.
 
Constructor Details
#initialize(options, url, token = nil) ⇒ Base
Returns a new instance of Base.
      30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52  | 
    
      # File 'lib/arachni/rpc/client/base.rb', line 30 def initialize( , url, token = nil ) @url = url socket, host, port = nil if url.include? ':' host, port = url.split( ':' ) else socket = url end super( serializer: Serializer, host: host, port: port.to_i, socket: socket, token: token, connection_pool_size: .rpc.connection_pool_size, max_retries: .rpc.client_max_retries, ssl_ca: .rpc.ssl_ca, ssl_pkey: .rpc.client_ssl_private_key, ssl_cert: .rpc.client_ssl_certificate ) end  | 
  
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
      18 19 20  | 
    
      # File 'lib/arachni/rpc/client/base.rb', line 18 def url @url end  |