Mercurial > thymian
comparison server/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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a4671277546c |
|---|---|
| 1 #ifndef URL_BREAKER | |
| 2 #define URL_BREAKER | |
| 3 | |
| 4 #include <string> | |
| 5 #include <map> | |
| 6 | |
| 7 class url_breaker | |
| 8 { | |
| 9 public: | |
| 10 url_breaker(const std::string& components, const std::string& url); | |
| 11 std::string operator [](const std::string&); | |
| 12 | |
| 13 private: | |
| 14 std::map<std::string, std::string> comps; | |
| 15 | |
| 16 }; | |
| 17 | |
| 18 #endif // URL_BREAKER | |
| 19 |
