Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
48
bool 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
58
bool RedisClient::IsConnected()
59
{
Callers
nothing calls this directly
Calls
1
IsNull
Method · 0.45
Tested by
no test coverage detected