Overview
>
klyn.net
>
URL
>
URL
Version 0.1.2
Overview
Index
Tree
Deprecated
klyn.net.URL.URL
constructor
public URL(spec as String) throws MalformedURLException:
Description
Parses a URL string.
Parameters
spec Absolute URL.
Throws
MalformedURLException when the input is invalid. ```klyn import klyn.net url = URL("https://example.com/index.html") print(url.path) ```