Http 服务器类
$https : boolean
是否为 https 服务
$http2 : boolean
是否为 http2 服务
isSSL() : boolean
isHttp2()
createServer() : void
创建 swoole 服务器对象
createSubServer() : void
从主服务器监听端口,作为子服务器
getServerInitConfig() : array
获取服务器初始化需要的配置
bindEvents() : void
绑定服务器事件
__bindEvents() : void