[Function] copy-uri

Signature

copy-uri uri &key place scheme host port path query fragment plist => result-uri

Package

ystok.uri

Arguments
uri
An instance of the uri structure class or nil.
place
If given, must be a uri instance that will be modified rather than a new one being created.
scheme, host, port, path, query, fragment, plist
Keyword parameters used to initialize those slots of the new (or given) URI instance. See uri.
Values

A newly created uri instance or place if given.

Description

The function make a copy of uri with (some of) the component values replaced by the supplied key arguments.