GoLang Swoole\Event::set

request it (327)
GoLang replacement for PHP's Swoole\Event::set [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Event::set? Write it!

PHP Swoole\Event::set

PHP original manual for Swoole\Event::set [ show | php.net ]

Swoole\Event::set

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

Swoole\Event::setUpdate the event callback functions of a socket.

Description

public static boolean Swoole\Event::set ( int $fd [, string $read_callback [, string $write_callback [, string $events ]]] )

Parameters

fd

read_callback

write_callback

events

Return Values