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:
parent
e32cecedba
commit
dbd1a3a90a
7 changed files with 37 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue