diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-10-08 00:58:42 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-10-19 00:13:47 +0200 |
| commit | 86ec0b5386fc2078891a829026844d2ec21ea7db (patch) | |
| tree | 5f3ed650bc2957e06fd3c8c1ecfa7c6e7fc825b6 /src/str.hh | |
| parent | 3a002fb9c23fc9a6384bc1b30a8e364924bb574e (diff) | |
Add http module and implement basic http server
Diffstat (limited to 'src/str.hh')
| -rw-r--r-- | src/str.hh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,13 @@ void split(std::string_view str, std::vector<std::string_view>& out, char separator = ' ', bool keep_empty = false); +void split(std::string_view str, std::vector<std::string_view>& out, + std::string_view separator, bool keep_empty = false); + +[[nodiscard]] std::vector<std::string_view> split(std::string_view str, + std::string_view separator, + bool keep_empty = false); + [[nodiscard]] std::string_view trim(std::string_view str); |
