OpenSwoole\Client->send

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\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 September 1, 2022