{php include wl_template('common/header');}
普通通信:即旧的通讯方式,仅支持发送文本信息。
多功能通信:新的通讯方式支持文本、表情、图片、视频等等。但是配置复杂,需要修改服务器配置。多功能通信必须配置ssl证书!
请求时使用的端口。需要在服务器放行
公钥在服务器的绝对路径,例如:/www/server/data/ssl/pem.pem
私钥在服务器的绝对路径,例如:/www/server/data/ssl/pem.key
{if $set['port'] && $set['key_path'] && $set['pem_path']}
未链接... 正在请求,链接中... 请求成功,通讯中... 断开链接... 链接失败,通讯不可用... 链接失败,当前浏览器不支持WebSocket通讯...
{/if}
{php include wl_template('common/footer');}