summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib/net')
-rw-r--r--dev/lib/net/url.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev/lib/net/url.hpp b/dev/lib/net/url.hpp
index ff6aebe..7263a52 100644
--- a/dev/lib/net/url.hpp
+++ b/dev/lib/net/url.hpp
@@ -61,4 +61,12 @@ namespace ocl::net
return ss_.size() > 0;
}
};
+
+ enum class protocol
+ {
+ http,
+ https,
+ mailto,
+ bad
+ };
} // namespace ocl::net