#!/usr/bin/env php <?PHP /* * @Descripttion: * @version: * @Author: Blobt * @Date: 2020-07-30 09:48:18 * @LastEditors: Blobt * @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 = 1; $server->workerNum = 1; $server->entryPoint = '/home/blobt/Documents/dev/php/yii2-app-rpc/rpc/index.php'; $server->run(); ?>