Skip to content

class Url

Example foo://example.com:2010/alpha/beta?gamma=delta#epsilon


fields


Url.scheme


Url.scheme : string

for example foo.

Url.authority


Url.authority : string

for example example.com:2010.

Url.filename


Url.filename : string

for example example.com:2010/alpha/beta.

Url.path


Url.path : string

for example alpha/beta.

Url.port


Url.port : string

for example 2010.

Url.query


Url.query : string

for example gamma=delta.

Url.queries


Url.queries : table

for example {["gamma"]="delta"}.

Url.fragment


Url.fragment : string

for example epsilon.

Url.original


Url.original : string

for example foo://example.com:2010/alpha/beta?gamma=delta#epsilon".

Url.noscheme


Url.noscheme : boolean

for example false.