@raincatcher/filestore-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

RainCatcher FileStore client

RainCatcher FileStore Client provides a manager which provides the support for:

  • Downloading files from a server.
  • Uploading files from a mobile device to a server.

Usage

  1. Implement the HttpClient Interface

  2. Import FileManager

var FileManager = require('@raincatcher/filestore-client').FileManager;
...
var fileManager = new FileManager(serverUrl, fileQueueName, httpClient);
  1. Use the FileManager for uploading/downloading files to and from the server.
fileManager.scheduleFileToBeUploaded(fileQueueEntry);
fileManager.scheduleFileToBeDownloaded(fileQueueEntry);

HttpClient Interface

The HttpClient interface should be implemented in order to enable the FileStore client to make network requests for uploading and downloading files to and from a server.

Readme

Keywords

none

Package Sidebar

Install

npm i @raincatcher/filestore-client

Weekly Downloads

1

Version

1.1.2

License

Apache-2.0

Last publish

Collaborators

  • wtrocki
  • feedhenry
  • feedhenry-dev
  • jbriones