Skip to content

Commit c265627

Browse files
committed
Add missing documentation for ECHO.
(GitHub phpredis#165)
1 parent c4a5370 commit c265627

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.markdown

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ Parameter value.
186186
$redis->getOption(Redis::OPT_SERIALIZER); // return Redis::SERIALIZER_NONE, Redis::SERIALIZER_PHP, or Redis::SERIALIZER_IGBINARY.
187187
</pre>
188188

189-
190189
## ping
191190
##### *Description*
192191

@@ -201,6 +200,20 @@ Check the current connection status
201200
*STRING*: `+PONG` on success. Throws a RedisException object on connectivity error, as described above.
202201

203202

203+
## echo
204+
##### *Description*
205+
206+
Sends a string to Redis, which replies with the same string
207+
208+
##### *Parameters*
209+
210+
*STRING*: The message to send.
211+
212+
##### *Return Value*
213+
214+
*STRING*: the same message.
215+
216+
204217
## get
205218
##### *Description*
206219

0 commit comments

Comments
 (0)