Skip to main content

FuseProxySDK

@appfire/fuse-utilsDocs


@appfire/fuse-utils / 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.

Constructors

new FuseProxySDK()

new FuseProxySDK(productType, appKey): FuseProxySDK

Parameters

productType: ProductType

appKey: string

Returns

FuseProxySDK

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

params: Record\<string, string>

(profileName or url)

backOffOptions: Partial\<IBackOffOptions> = ...

(numOfAttempts) incase of failure

Returns

Promise\<any>

content as string

Defined in

services/proxy.service.ts:39