public static function setUpBeforeClass() { $cq = new Grpc\CompletionQueue(); self::$server = new Grpc\Server($cq, []); self::$port = self::$server->add_http2_port('0.0.0.0:0'); }
public static function setUpBeforeClass() { self::$server = new Grpc\Server([]); self::$port = self::$server->addHttp2Port('0.0.0.0:0'); }