Skip to content

Commit 0c7dde2

Browse files
committed
Add a tip about using ping
1 parent 2526e00 commit 0c7dde2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ Notice that `Tarantool::connect`, `Tarantool::open` (an alias for `connect`) and
230230
`Tarantool::reconnect` are deprecated as any other connection-related
231231
instructions now cause an automatic connect.
232232

233+
To initiate and/or test connection, please use [Tarantool::ping](#tarantoolping).
234+
233235
### Tarantool::disconnect
234236

235237
``` php
@@ -260,7 +262,8 @@ _**Return value**_: **BOOL**: True
260262
public bool Tarantool::ping ( void )
261263
```
262264

263-
_**Description**_: Ping the Tarantool server.
265+
_**Description**_: Ping the Tarantool server. Using `ping` is also the
266+
recommended way to initiate and/or test a connection.
264267

265268
_**Return value**_: **BOOL**: True and raises `Exception` on error.
266269

0 commit comments

Comments
 (0)