MCPcopy Create free account
hub / github.com/cinience/RedisStudio / Ping

Method Ping

RedisStudio/Redis/RedisClient.cpp:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool RedisClient::Ping()
49{
50 ScopedRedisReply reply(Command("ping"));
51 if (!reply.IsNull() && reply->type == REDIS_REPLY_STATUS)
52 {
53 return true;
54 }
55 return false;
56}
57
58bool RedisClient::IsConnected()
59{

Callers

nothing calls this directly

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected