跳到主要内容

subscribe

订阅

声明

void subscribe(string channel, function func)

参数

参数名描述
channel频道id
func消息处理函数

返回值

使用方式

返回文档