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:
@@ -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); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user