__construct() public method

public __construct ( )
Esempio n. 1
0
 public function __construct($uri, $mode = SWOOLE_BASE)
 {
     parent::__construct();
     $url = $this->parseUrl($uri);
     $this->type = $url->type;
     $this->server = new swoole_server($url->host, $url->port, $mode, $url->type);
 }