作者 何书鹏

11

... ... @@ -76,7 +76,7 @@ class Server
'verify_peer' => false,
)
);
$inner_http_worker = new Worker('http://0.0.0.0:2121',$context);
$inner_http_worker = new Worker('https://0.0.0.0:2121',$context);
// 当http客户端发来数据时触发
$inner_http_worker->onMessage = function(TcpConnection $http_connection, Request $request) use ($sender_io) {
// global $uidConnectionMap;
... ...