summaryrefslogtreecommitdiff
path: root/modules/websocket/wsl_client.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-04-26 09:33:28 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-04-26 09:55:24 +0200
commit3bb40669d5efea707a90171ad2430a81fd4f4726 (patch)
treec944fe92d31c407e62ecd7882858f80b7e2b5145 /modules/websocket/wsl_client.h
parent15a85fe9713668f8ba6143352fd27d419a96ba83 (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 'modules/websocket/wsl_client.h')
0 files changed, 0 insertions, 0 deletions