hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

url-delete

Deletes a component from a URL and returns a new URL
Parameter
Type
Description
self
url
The URL to modify
component
string
The component to delete ('host', 'port', 'path', 'query', or 'anchor')
return
url
A new URL with the specified component removed