public function run($options = [], LoopInterface $loop = null)
    {
        $this->mergeConfig($options);

        // Print out our lovely minion.
        echo $this->gimmeASCII()."\n";

        $client = $this->newClient($loop);
        $client->addTransportProvider($this->newTransportProvider());

        return $client->start($this->getConfig('debug'));
    }
public function run($options = [], LoopInterface $loop = null)
    {
        $this->mergeConfig($options);

        // Print out our lovely minion.
        echo $this->gimmeASCII()."\n";

        $client = $this->newClient($loop);
        $client->addTransportProvider($this->newTransportProvider());

        return $client->start($this->getConfig('debug'));
    }
public function run ( $ options = [ ] , LoopInterface $ loop = null ) { $ this -> mergeConfig ( $ options ) ; // Print out our lovely minion. echo $ this -> gimmeASCII ( ) . "\n" ; $ client = $ this -> newClient ( $ loop ) ; $ client -> addTransportProvider ( $ this -> newTransportProvider ( ) ) ; return $ client -> start ( $ this -> getConfig ( 'debug' ) ) ; }
Run the server.

@param array $options
@param \React\EventLoop\LoopInterface $loop

@throws \Exception If encountered any failure starting the client.
Run the server .