GoLang Swoole\Connection\Iterator::offsetSet

request it (68)
GoLang replacement for PHP's Swoole\Connection\Iterator::offsetSet [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Connection\Iterator::offsetSet? Write it!

PHP Swoole\Connection\Iterator::offsetSet

PHP original manual for Swoole\Connection\Iterator::offsetSet [ show | php.net ]

Swoole\Connection\Iterator::offsetSet

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetSetAssign a Connection to the specified offset.

Description

public void Swoole\Connection\Iterator::offsetSet ( int $offset , mixed $connection )

Assign a Connection to the specified offset.

Parameters

offset

The offset to assign the Connection to.

connection

The connection to set.

Return Values