Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a link to another resource.

Hierarchy

  • Link

Index

Constructors

Properties

Constructors

  • new Link(rel: string, href: string, title?: string, templated?: boolean): Link
  • 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
rel: string
templated: boolean = false
title?: string

Generated using TypeDoc