The Swoole\Redis\Server class
(PECL swoole >= 1.9.0)
简介
类摘要
Swoole\Redis\Server
extends
Swoole\Server
{
/* Constants */
/* 方法 */
public setHandler
( string
$command
, string $callback
, string $number_of_string_param
= ?
, string $type_of_array_param
= ?
) : ReturnType/* 继承的方法 */
public Swoole\Server::after
( int
$after_time_ms
, callable $callback
, string $param
= ?
) : ReturnType
swoole_timer_clear
( int
$timer_id
) : void
public Swoole\Server::getClientInfo
( int
$fd
, int $reactor_id
= ?
, bool $ignore_error
= ?
) : array
public Swoole\Server::sendto
( string
$ip
, int $port
, string $data
, string $server_socket
= ?
) : bool
public Swoole\Server::task
( string
}$data
, int $dst_worker_id
= ?
, callable $callback
= ?
) : mixed预定义常量
Swoole\Redis\Server::NIL
Swoole\Redis\Server::ERROR
Swoole\Redis\Server::STATUS
Swoole\Redis\Server::INT
Swoole\Redis\Server::STRING
Swoole\Redis\Server::SET
Swoole\Redis\Server::MAP
目录
- Swoole\Redis\Server::format — Description
- Swoole\Redis\Server::setHandler — Description
- Swoole\Redis\Server::start — Description