跳到主要内容

send

发送数据

声明

bool send(mixed payload)

参数

参数名描述
payload发送数据,可为string或buffer

返回值

true-发送成功/false-发送失败

使用方式

返回文档