Continued working on url_manipulation library

This commit is contained in:
2023-03-10 08:11:20 -06:00
parent 5ff532ecd9
commit 7c17fcadcf
2 changed files with 43 additions and 7 deletions

View File

@@ -10,3 +10,7 @@ Example - 'https://example.org' would return 'example.org'. */
char* url_to_hostname(char* url);
/* url_to_path - Returns the path portion of a URL.
Example: 'https://example.org/index.html' will return '/index.html'
Any empty path will also return '/index.html' */
char* url_to_path(char* url);