ClientUtil
An instance of this class represents Client utility service
Static Method Summary
Static Public Methods | ||
public static |
async createService(url: String, userName: String, password: String): Promise<ClientUtil> Create a service object of this class |
Constructor Summary
Public Constructor | ||
public |
constructor(chrisClient: Client) Constructor |
Member Summary
Public Members | ||
public |
chrisClient: * |
Method Summary
Public Methods | ||
public |
async createDownloadFeed(feedId: number, newFeedName: string): Promise<Feed> Create a downloading feed given an existing feed id |
|
public |
async createUploadFeed(files: Array, feedName: String): Promise<Feed> Create a new Feed with the given files |
|
public |
getClient(): Client Get an instance of Chris Client |
Static Public Methods
Public Constructors
public constructor(chrisClient: Client) source
Constructor
Params:
Name | Type | Attribute | Description |
chrisClient | Client | A Chris Client Object |
Public Members
public chrisClient: * source
Public Methods
public async createDownloadFeed(feedId: number, newFeedName: string): Promise<Feed> source
Create a downloading feed given an existing feed id
public async createUploadFeed(files: Array, feedName: String): Promise<Feed> source
Create a new Feed with the given files
public getClient(): Client source
Get an instance of Chris Client
Return:
Client | A ChRIS client object |