Link


Description:

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

Creates a new Link.

More information is available in the Atom specification.

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