Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Predis
PubSub
AbstractConsumer
ping
Predis\PubSub\AbstractConsumer::ping PHP Метод
Документация по классу AbstractConsumer
Показать файл
Открыть проект
ping()
публичный
Метод
PING the server with an optional payload that will be echoed as a PONG message in the pub/sub loop.
public
ping
(
string
$payload
= null )
$payload
string
Optional PING payload.
public function ping($payload = null) { $this->writeRequest('PING', array($payload)); }
AbstractConsumer
__destruct
current
disconnect
getValue
invalidate
isFlagSet
key
next
ping
psubscribe
punsubscribe
rewind
stop
subscribe
unsubscribe
valid
writeRequest