<?php require_once 'vendor/autoload.php'; use Workerman\Worker; use Workerman\Connection\AsyncTcpConnection; $worker = new Worker(); $worker->onWorkerStart = function($worker) { // ssl需要访问443端口 ...