FuseProxySDK
@appfire/fuse-utils • Docs
@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
Defined in
Properties
appKey
appKey:
string
Defined in
fuseHttpClient
fuseHttpClient:
ConfluenceHttpClient|JiraHttpClient|MondayHttpClient
Defined in
productType
productType:
ProductType
Defined in
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