Swoole
PHP Manual

The Swoole\Coroutine class

(PHP 7, PECL swoole >= 2.0.0)

Introduction

Class synopsis

Swoole\Coroutine {
/* Methods */
public static mixed call_user_func_array ( callable $callback , array $param_array )
public static mixed call_user_func ( callable $callback [, mixed $parameter [, mixed $... ]] )
public static ReturnType cli_wait ( void )
public static ReturnType create ( void )
public ReturnType Swoole\Coroutine\Client::close ( void )
public ReturnType Swoole\Coroutine\Client::connect ( void )
public ReturnType Swoole\Coroutine\Client::__destruct ( void )
public ReturnType Swoole\Coroutine\Client::getpeername ( void )
public ReturnType Swoole\Coroutine\Client::getsockname ( void )
public ReturnType Swoole\Coroutine\Client::isConnected ( void )
public ReturnType Swoole\Coroutine\Client::recv ( void )
public ReturnType Swoole\Coroutine\Client::send ( void )
public ReturnType Swoole\Coroutine\Client::sendfile ( void )
public ReturnType Swoole\Coroutine\Client::sendto ( void )
public ReturnType Swoole\Coroutine\Client::set ( void )
public ReturnType Swoole\Coroutine\Http\Client::addFile ( void )
public ReturnType Swoole\Coroutine\Http\Client::close ( void )
public ReturnType Swoole\Coroutine\Http\Client::__destruct ( void )
public ReturnType Swoole\Coroutine\Http\Client::execute ( void )
public ReturnType Swoole\Coroutine\Http\Client::get ( void )
public ReturnType Swoole\Coroutine\Http\Client::getDefer ( void )
public ReturnType Swoole\Coroutine\Http\Client::isConnected ( void )
public ReturnType Swoole\Coroutine\Http\Client::post ( void )
public ReturnType Swoole\Coroutine\Http\Client::recv ( void )
public ReturnType Swoole\Coroutine\Http\Client::set ( void )
public ReturnType Swoole\Coroutine\Http\Client::setCookies ( void )
public ReturnType Swoole\Coroutine\Http\Client::setData ( void )
public ReturnType Swoole\Coroutine\Http\Client::setDefer ( void )
public ReturnType Swoole\Coroutine\Http\Client::setHeaders ( void )
public ReturnType Swoole\Coroutine\Http\Client::setMethod ( void )
public ReturnType Swoole\Coroutine\MySQL::close ( void )
public ReturnType Swoole\Coroutine\MySQL::connect ( void )
public ReturnType Swoole\Coroutine\MySQL::__destruct ( void )
public ReturnType Swoole\Coroutine\MySQL::getDefer ( void )
public ReturnType Swoole\Coroutine\MySQL::query ( void )
public ReturnType Swoole\Coroutine\MySQL::recv ( void )
public ReturnType Swoole\Coroutine\MySQL::setDefer ( void )
public static ReturnType getuid ( void )
public static ReturnType resume ( void )
public static ReturnType suspend ( void )
}

Table of Contents


Swoole
PHP Manual