diff common/url_breaker.h @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/url_breaker.h	Tue Aug 17 11:19:54 2021 +0200
@@ -0,0 +1,19 @@
+#ifndef URL_BREAKER
+#define URL_BREAKER
+
+#include <string>
+#include <map>
+
+class url_breaker
+{
+public:
+    url_breaker(const std::string& components, const std::string& url);
+    std::string operator [](const std::string&);
+
+private:
+    std::map<std::string, std::string> comps;
+
+};
+
+#endif // URL_BREAKER
+