Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the base class for all generated API classes.

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns BaseAPI

Properties

Private clone

clone: any

Create a shallow clone of this by constructing a new instance and then shallow cloning data members.

Protected configuration

configuration: Configuration

Private createFetchParams

createFetchParams: any

Private fetchApi

fetchApi: any

Private middleware

middleware: any

Methods

Protected request

withMiddleware

  • withMiddleware<T>(...middlewares: Middleware[]): T
  • Type parameters

    Parameters

    Returns T

withPostMiddleware

  • Type parameters

    Parameters

    Returns T

withPreMiddleware