summaryrefslogtreecommitdiff
path: root/modules/io_codec/examples/echo.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-19 19:15:32 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-19 19:15:32 +0200
commit5f946d3dba74a7d3bc12bc75c4e7e7ed58805d58 (patch)
tree9f0a23255734edaa60fdd254848972884b65edab /modules/io_codec/examples/echo.hpp
parentd37e2449e0c5f44b4d10ecd6c99841a9b3c4b582 (diff)
wip
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;