略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Swoole\WebSocket\Server::push

2024-11-14

Swoole\WebSocket\Server::push

(PECL swoole >= 1.9.0)

Swoole\WebSocket\Server::pushPush data to the remote client.

说明

public Swoole\WebSocket\Server::push(
    string $fd,
    string $data,
    string $opcode = ?,
    string $finish = ?
): void

参数

fd

data

opcode

finish

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/swoole-websocket-server.push.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3