Link


Description:

[ CCode ( has_construct_function = false ) ]
public Link (string uri, string? relation_type)

Creates a new Link.

More information is available in the <ulink type="http" url="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link">Atom specification</ulink>.

uri must be non-null and non-empty. relation_type must be null or non-empty.

Parameters:

uri

the link's IRI

relation_type

the relationship of the link to the current document, or null

Returns:

a new Link, or null; unref with unref