396d0d9bdc
* try to build ws on window on travis 📮 * cmake invocation fixed on windows 🐝 * Can use mbedtls to calculate hmac + no openssl config option * build only windows on travis 🕢 * run msbuild 💷 * proper command to build 🕛 * some build fixes * change weird sizeof call 🐙 * warning and missing includes fixes 💮 * ifdef out statsd code on windows 🐍 * logic invertion in ifdef 👄 * bring back makefile 📜 * command line tool is built with mbedtls 🏥
27 lines
556 B
C++
27 lines
556 B
C++
/*
|
|
* IXSnakeProtocol.h
|
|
* Author: Benjamin Sergeant
|
|
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace ix
|
|
{
|
|
class WebSocket;
|
|
}
|
|
|
|
namespace snake
|
|
{
|
|
class SnakeConnectionState;
|
|
struct AppConfig;
|
|
|
|
void processCobraMessage(std::shared_ptr<SnakeConnectionState> state,
|
|
std::shared_ptr<ix::WebSocket> ws,
|
|
const AppConfig& appConfig,
|
|
const std::string& str);
|
|
} // namespace snake
|