summaryrefslogtreecommitdiff
path: root/modules/io_codec/examples/echo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io_codec/examples/echo.hpp')
-rw-r--r--modules/io_codec/examples/echo.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/io_codec/examples/echo.hpp b/modules/io_codec/examples/echo.hpp
index 71be1a0..84b9b31 100644
--- a/modules/io_codec/examples/echo.hpp
+++ b/modules/io_codec/examples/echo.hpp
@@ -3,6 +3,15 @@
#include <string>
#include <cstdint>
+#include <forstio/codec/schema.hpp>
+#include <forstio/codec/simple.hpp>
+
+namespace sch {
+using namespace saw::schema;
+
+using Echo = String;
+}
+
namespace saw {
constexpr std::string echo_address = "::1";
constexpr uint16_t echo_port = 4322;