Swoole\Client->send

4.x is outdated, please check the latest version 22.x


Latest version: pecl install openswoole-22.1.2

Declaration

<?php Swoole\Client->send($data, $flag = null)

Parameters

data

The data to send.

flag

Flags.

Return

Description

Send data to the remote peer with the connection.

Data can be either string or binary.

Example

Last updated on August 31, 2022