diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-04-26 09:33:28 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-04-26 09:55:24 +0200 |
commit | 3bb40669d5efea707a90171ad2430a81fd4f4726 (patch) | |
tree | c944fe92d31c407e62ecd7882858f80b7e2b5145 /tests/test_text_server.h | |
parent | 15a85fe9713668f8ba6143352fd27d419a96ba83 (diff) |
[Net] Implement String::parse_url for parsing URLs.
Splits the URL into (scheme, host, port, path).
Supports both literal IPv4 and IPv6.
Strip credentials when present (e.g. http://user:pass@example.com/).
Use that function in both HTTPRequest and WebSocketClient.
Diffstat (limited to 'tests/test_text_server.h')
0 files changed, 0 insertions, 0 deletions