forked from hiimgoodpack/brainlet-client
Fix brainlet.h
This commit is contained in:
parent
1c52e0f370
commit
2b71b7da08
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ namespace Brainlet {
|
||||||
State state = NOT_CONNECTED;
|
State state = NOT_CONNECTED;
|
||||||
|
|
||||||
static void onReceive(Client* client, std::string buffer);
|
static void onReceive(Client* client, std::string buffer);
|
||||||
void escapeJSON(std::string& string); ///< Escapes a string to a JSON value
|
static void escapeJSON(std::string& string); ///< Escapes a string to a JSON value
|
||||||
void escapeOutput(std::string& string); ///< Escapes a string to output safely
|
static void escapeOutput(std::string& string); ///< Escapes a string to output safely
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::function<void(Channel)> onNewChannel = nullptr;
|
std::function<void(Channel)> onNewChannel = nullptr;
|
||||||
|
|
Reference in a new issue