2
0
mirror of https://github.com/boostorg/redis.git synced 2026-02-09 23:32:35 +00:00

Refactoring:

- Moves read and write header to detail.
- Adds namespace detail to all files in detail directory.
This commit is contained in:
Marcelo Zimbres
2021-08-08 14:53:07 +02:00
parent ab5c2d843e
commit 20817642d9
26 changed files with 277 additions and 281 deletions

View File

@@ -24,16 +24,16 @@ private:
public:
myreceiver(std::shared_ptr<connection> conn) : conn_{conn} { }
void on_hello(resp::array_type& v) noexcept override
void on_hello(array_type& v) noexcept override
{ conn_->send(f); }
void on_ping(resp::simple_string_type& s) noexcept override
void on_ping(simple_string_type& s) noexcept override
{ std::cout << "PING: " << s << std::endl; }
void on_quit(resp::simple_string_type& s) noexcept override
void on_quit(simple_string_type& s) noexcept override
{ std::cout << "QUIT: " << s << std::endl; }
void on_push(resp::array_type& s) noexcept override
void on_push(array_type& s) noexcept override
{ std::cout << "on_push: "; print(s); }
};