summaryrefslogtreecommitdiff
path: root/modules/io/c++/io.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io/c++/io.hpp')
-rw-r--r--modules/io/c++/io.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/io/c++/io.hpp b/modules/io/c++/io.hpp
index ea185a8..43ef7f0 100644
--- a/modules/io/c++/io.hpp
+++ b/modules/io/c++/io.hpp
@@ -175,6 +175,9 @@ public:
*/
virtual conveyor<own<network_address>>
resolve_address(const std::string &addr, uint16_t port_hint = 0) = 0;
+
+ virtual error_or<own<network_address>>
+ parse_address(const std::string &addr, uint16_t port_hint = 0) = 0;
/**
* Parse the provided string and uint16 to the preferred storage method