[Generic Function] uri

Package

ystok.uri

Signature

uri object => uri

Arguments
object
An arbitrary Lisp object
Values

A uri instance.

Description

This function converts the object given to the URI instance. The default method signals the uri-error condition.

The method on the uri structure class just returns the argument itself.

The method on the string type invokes

(parse-uri object :decode t)

The method on the pathname type converts pathname components to URI components without any percent-decoding.