The Swoole\Redis\Server class
(PHP 5 >= 5.2.0, PHP 7, 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
( integer
$after_time_ms
, callable $callback
[, string $param
] ) : ReturnType
swoole_timer_clear
( integer
$timer_id
) : void
public Swoole\Server::sendto
( string
$ip
, integer $port
, string $data
[, string $server_socket
] ) : boolean
public Swoole\Server::task
( string
}$data
[, integer $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
-
Table of Contents
- Swoole\Redis\Server::format — Description
- Swoole\Redis\Server::setHandler — Description
- Swoole\Redis\Server::start — Description