lib/arachni/rpc/server.rb
# Starts the server but does not block.
Starts the server but does not block.
Starts the server but does not block .
def start
        @logger.info( 'System' ){ 'RPC Server started.' }
        @logger.info( 'System' ) do
            interface = @socket ? @socket : "#{@host}:#{@port}"
            "Listening on #{interface}"
        end
        opts = @socket ? @socket : [@host, @port]
        @reactor.listen( *[opts, Handler, self].flatten )
    end
def start @logger . info ( 'System' ) { 'RPC Server started.' } @logger . info ( 'System' ) do interface = @socket ? @socket : "#{@host}:#{@port}" "Listening on #{interface}" end opts = @socket ? @socket : [ @host , @port ] @reactor . listen ( * [ opts , Handler , self ] . flatten ) end
Starts the server but does not block.
Starts the server but does not block .