Swoole\ConnectionPool->put

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


Latest version: pecl install openswoole-22.1.2

Declaration

<?php Swoole\ConnectionPool->put($connection)

Parameters

connection

A connection

Return

Description

Put the connection back to connection pool once it is not used by the current corooutine.

Example

Last updated on August 31, 2022