The OpenD Programming Language

Uri.basedOn

Returns a new absolute Uri given a base. It treats this one as relative where possible, but absolute if not. (If protocol, domain, or other info is not set, the new one inherits it from the base.)

Browsers use a function like this to figure out links in html.

struct Uri
const
basedOn

Meta