Skip to main content

FuseProxySDK

@appfire/fuse-utils / Exports / FuseProxySDK

Class: FuseProxySDK

Fuse Proxy SDK This class is responsible to read the content from upstream

  • either based on inline URL
  • based on the profileName passed.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FuseProxySDK(productType, appKey)

Parameters

NameType
productTypeProductType
appKeystring

Defined in

services/proxy.service.ts:24

Properties

appKey

appKey: string

Defined in

services/proxy.service.ts:22


fuseHttpClient

fuseHttpClient: ConfluenceHttpClient | JiraHttpClient | MondayHttpClient

Defined in

services/proxy.service.ts:20


productType

productType: ProductType

Defined in

services/proxy.service.ts:21

Methods

getDataFromProfile

getDataFromProfile(params, backOffOptions?): Promise<any>

Parameters

NameTypeDescription
paramsRecord<string, string>{profileName or url}
backOffOptionsPartial<IBackOffOptions>{numOfAttempts} incase of failure

Returns

Promise<any>

content as string

Defined in

services/proxy.service.ts:39