OpenSwoole\Core\Coroutine\Pool\ClientPool->put

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

Declaration

<?php OpenSwoole\Core\Coroutine\Pool\ClientPool->put($connection, $isNew = false)

Parameters

client

A client

is new

Is a new client.

Return

Description

Put the client back to client pool once it is not used by the current coroutine.

Last updated on September 22, 2022