(ws) redis_subscribe and redis_publish can take a password + display subscribe response
This commit is contained in:
2
ws/ws.h
2
ws/ws.h
@ -42,11 +42,13 @@ namespace ix
|
||||
|
||||
int ws_redis_publish_main(const std::string& hostname,
|
||||
int port,
|
||||
const std::string& password,
|
||||
const std::string& channel,
|
||||
const std::string& message);
|
||||
|
||||
int ws_redis_subscribe_main(const std::string& hostname,
|
||||
int port,
|
||||
const std::string& password,
|
||||
const std::string& channel,
|
||||
bool verbose);
|
||||
}
|
||||
|
Reference in New Issue
Block a user