add example websocket C++ server snake which supports basic cobra ops (publish and subscribe without stream sql

This commit is contained in:
Benjamin Sergeant
2019-04-22 17:24:01 -07:00
parent 9ab7bc652a
commit c85d5da111
19 changed files with 846 additions and 20 deletions

11
ws/ws.h
View File

@ -64,7 +64,8 @@ namespace ix
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
const std::string& path);
const std::string& path,
bool stress);
int ws_cobra_to_statsd_main(const std::string& appkey,
const std::string& endpoint,
@ -86,4 +87,12 @@ namespace ix
bool verbose,
bool strict,
int jobs);
int ws_snake_main(int port,
const std::string& hostname,
const std::string& redisHosts,
int redisPort,
const std::string& redisPassword,
bool verbose,
const std::string& appsConfigPath);
}