Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Api

Hierarchy

  • Api

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

apiDataTTL

apiDataTTL: number

httpClient

httpClient: HttpClient

options

options: ApiOptions

url

url: string

Methods

get

  • Fetches data used to construct the api client, from cache if it's present, otherwise from calling the prismic api endpoint (which is then cached).

    Parameters

    Returns Promise<ResolvedApi>

Generated using TypeDoc