You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
452 B
21 lines
452 B
<?PHP
|
|
/*
|
|
* @Descripttion:
|
|
* @version:
|
|
* @Author: sueRimn
|
|
* @Date: 2020-07-30 09:48:18
|
|
* @LastEditors: sueRimn
|
|
* @LastEditTime: 2020-07-30 14:20:19
|
|
*/
|
|
|
|
include __DIR__."/../vendor/autoload.php";
|
|
|
|
use blobt\airpc\RpcServer;
|
|
|
|
$server = new RpcServer("0.0.0.0", 5188);
|
|
$server->reactorNum = 2;
|
|
$server->workerNum = 6;
|
|
$server->daemonize = false;
|
|
$server->entryPoint = '/home/blobt/Documents/dev/php/yii2-app-rpc/rpc/index.php';
|
|
$server->run();
|
|
?>
|