PHP.mk документација

Swoole\Redis\Server

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

class.swoole-redis-server.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека class.swoole-redis-server.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
Swoole\Redis\Server

Референца за `class.swoole-redis-server.php` со подобрена типографија и навигација.

class.swoole-redis-server.php

Класата Swoole\Redis\Server

(PECL swoole >= 1.9.0)

Вовед

Синопсис на класата

class Swoole\Redis\Server extends Swoole\Server {
/* Константи */
const int NIL = 1;
const int ERROR = 0;
const int STATUS = 2;
const int INT = 3;
const int STRING = 4;
const int SET = 5;
const int MAP = 6;
/* Методи */
public static function format(string $type, string $value = ?): ReturnType
public function setHandler(
         string $command,
         string $callback,
         string $number_of_string_param = ?,
         string $type_of_array_param = ?
): ReturnType
public function start(): ReturnType
/* Наследени методи */
public function Swoole\Server::addlistener(string $host, int $port, string $socket_type): void
public function Swoole\Server::addProcess(swoole_process $process): bool
public function Swoole\Server::after(int $after_time_ms, callable $callback, string $param = ?): ReturnType
public function Swoole\Server::bind(int $fd, int $uid): bool
public function Swoole\Server::clearTimer(int $timer_id): void
function swoole_timer_clear(int $timer_id): void
public function Swoole\Server::close(int $fd, bool $reset = ?): bool
public function Swoole\Server::confirm(int $fd): bool
public function Swoole\Server::connection_info(int $fd, int $reactor_id = ?): array
public function Swoole\Server::connection_list(int $start_fd, int $pagesize = ?): array
public function Swoole\Server::defer(callable $callback): void
public function Swoole\Server::exist(int $fd): bool
public function Swoole\Server::finish(string $data): void
public function Swoole\Server::getClientInfo(int $fd, int $reactor_id = ?, bool $ignore_error = ?): array
public function Swoole\Server::getClientList(int $start_fd, int $pagesize = ?): array
public function Swoole\Server::getLastError(): int
public function Swoole\Server::heartbeat(bool $if_close_connection): mixed
public function Swoole\Server::listen(string $host, int $port, string $socket_type): bool
public function Swoole\Server::on(string $event_name, callable $callback): void
public function Swoole\Server::pause(int $fd): void
public function Swoole\Server::protect(int $fd, bool $is_protected = ?): void
public function Swoole\Server::reload(): bool
public function Swoole\Server::resume(int $fd): void
public function Swoole\Server::send(int $fd, string $data, int $reactor_id = ?): bool
public function Swoole\Server::sendfile(int $fd, string $filename, int $offset = ?): bool
public function Swoole\Server::sendMessage(int $worker_id, string $data): bool
public function Swoole\Server::sendto(
         string $ip,
         int $port,
         string $data,
         string $server_socket = ?
): bool
public function Swoole\Server::sendwait(int $fd, string $data): bool
public function Swoole\Server::set(array $settings): ReturnType
public function Swoole\Server::shutdown(): void
public function Swoole\Server::start(): void
public function Swoole\Server::stats(): array
public function Swoole\Server::stop(int $worker_id = ?): bool
public function Swoole\Server::task(string $data, int $dst_worker_id = ?, callable $callback = ?): mixed
public function Swoole\Server::taskwait(string $data, float $timeout = ?, int $worker_id = ?): void
public function Swoole\Server::taskWaitMulti(array $tasks, float $timeout_ms = ?): void
public function Swoole\Server::tick(int $interval_ms, callable $callback): void
}

Содржина

Белешки од корисници

Нема белешки од корисници за оваа страница.
На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.