MCPcopy Create free account
hub / github.com/acl-dev/acl / ping

Method ping

lib_acl_cpp/src/redis/redis_connection.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool redis_connection::ping()
74{
75 const char* argv[1];
76 size_t lens[1];
77
78 argv[0] = "PING";
79 lens[0] = strlen(argv[0]);
80
81 build_request(1, argv, lens);
82 return check_status("PONG");
83}
84
85bool redis_connection::echo(const char* s)
86{

Callers 1

test_pingFunction · 0.45

Calls 1

build_requestFunction · 0.50

Tested by 1

test_pingFunction · 0.36