Module
Web.URL
- Package
- purescript-web-url
- Repository
- mjepronk/purescript-web-url
#fromAbsolute Source
fromAbsolute :: String -> Maybe URL
Construct a URL from a string containing an absolute URL.
#fromRelative Source
fromRelative :: String -> String -> Maybe URL
Construct a URL from two strings containing a relative and absolute URL respectively.
#unsafeFromAbsolute Source
unsafeFromAbsolute :: String -> URL
If you know you have a valid (hardcoded) absolute URL, you could use this constructor.
#unsafeFromRelative Source
unsafeFromRelative :: String -> String -> URL
If you know you have a valid relative and absolute URL, you could use this constructor.
#searchParams Source
searchParams :: URL -> URLSearchParams
A URLSearchParams object which can be used to access the individual query parameters found in search.
- Modules
- Web.
URL - Web.
URL. URLSearchParams