Module url
Parse urls
Functions
- URL.parse (rawURL)
-
Parse a url into its constituent parts
Parameters:
- rawURL string the URL to parse
Returns:
-
table result the constituent parts
- URL.parseQuery (rawURL)
-
Parse a url into its constituent query string parameters
Parameters:
- rawURL string the URL to parse
Returns:
-
table result the query parameters