From 43fc67d6edf55d1e9eba357dd89261fc464787af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Tue, 16 May 2017 22:48:43 +0200 Subject: [PATCH] Add ws boilerplate --- toREST/include/ws.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 toREST/include/ws.hpp diff --git a/toREST/include/ws.hpp b/toREST/include/ws.hpp new file mode 100644 index 0000000..bc00345 --- /dev/null +++ b/toREST/include/ws.hpp @@ -0,0 +1,23 @@ +#ifndef _TR_TORRENT_HPP_ +#define _TR_TORRENT_HPP_ + +#include + +namespace tr { +namespace ws { +template +void on_error(Server server, Connection con, const boost::system::error_code) { +} +template +void on_close(Server server, Connection con, int status, const std::string &reason) { +} +template +void on_open(Server server, Connection con) { +} +template +void on_message(Server server, Connection con, Message message) { +} +} +} + +#endif \ No newline at end of file