Yar 搭建 RPC 服務

一、安裝 Yar pecl install yar pecl install msgpack 二、確保 php 加載 yar 模塊   php -m 三、編寫服務器端 Server.php , 在瀏覽器打開 http://.../Server.php 可見API的介紹如下 <?php class API { public function some_method($parameter,
相關文章
相關標籤/搜索