1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-11 13:09:46 +00:00

Submitting a paste and saving to redis works!

This commit is contained in:
King_DuckZ 2017-04-06 22:42:43 +01:00
parent e32cecedba
commit dbd1a3a90a
7 changed files with 37 additions and 15 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include "response.hpp"
#include <string>
namespace redis {
class IncRedis;
@ -13,6 +14,8 @@ namespace tawashi {
private:
virtual void on_send (std::ostream& parStream) override;
bool submit_to_redis (const std::string& parText) const;
redis::IncRedis& m_redis;
};
} //namespace tawashi