public function __construct(App $app)
{
$this->app = $app;
$this->request = $this->app->request;
// 控制器初始化
$this->initialize();
//实例化Yar_Server
$server = new \Yar_Server($this);
// 启动server
$server->handle();
}我想把http转rpc,在ba最佳答案