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
Name | Type |
---|---|
productType | ProductType |
appKey | string |
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
Name | Type | Description |
---|---|---|
params | Record <string , string > | {profileName or url} |
backOffOptions | Partial <IBackOffOptions > | {numOfAttempts} incase of failure |
Returns
Promise
<any
>
content as string