Represents a link to another resource.

Hierarchy

  • Link

Constructors

Properties

Constructors

  • Creates a new link.

    Parameters

    • rel: string

      The relation type of the link.

    • href: string

      The href/target of the link.

    • Optional title: string

      The title of the link.

    • templated: boolean = false

      Indicates whether the link is an URI Template (RFC 6570).

    Returns Link

Properties

href: string

The href/target of the link.

rel: string

The relation type of the link.

templated: boolean = false

Indicates whether the link is an URI Template (RFC 6570).

title?: string

The title of the link.

Generated using TypeDoc