schema
string
The URL scheme (e.g., 'http', 'https')
host
string
The host domain or IP address
port
number
The port number, or nil if not specified
path
string
The path portion of the URL
query
string
The query string portion of the URL
anchor
string
The anchor (fragment) portion of the URL
return
url
The newly created URL