A simple set of wrappers for RESTful calls
Перейти к файлу
David de Regt b6c67ef344 0.0.6: Fixing bug in retry logic for DoNotRetry options 2016-11-18 17:47:07 -08:00
src 0.0.6: Fixing bug in retry logic for DoNotRetry options 2016-11-18 17:47:07 -08:00
.gitignore Misc cleanup 2016-11-02 15:57:33 -07:00
.npmignore Initial commit: Extracting out GenericRestClient, SimpleWebRequest, and ExponentialTime into a new SimpleRestClients reusable NPM module. 2016-11-02 15:52:44 -07:00
LICENSE Initial commit: Extracting out GenericRestClient, SimpleWebRequest, and ExponentialTime into a new SimpleRestClients reusable NPM module. 2016-11-02 15:52:44 -07:00
README.md Initial commit: Extracting out GenericRestClient, SimpleWebRequest, and ExponentialTime into a new SimpleRestClients reusable NPM module. 2016-11-02 15:52:44 -07:00
index.js Misc cleanup 2016-11-02 15:57:33 -07:00
package.json 0.0.6: Fixing bug in retry logic for DoNotRetry options 2016-11-18 17:47:07 -08:00
tsconfig.json More cleanup for release 2016-11-02 17:24:37 -07:00

README.md

SimpleRestClients

A simple set of wrappers for RESTful calls. Consists of two modules:

SimpleWebRequest

Wraps a single web request. Has lots of overrides for priorization, delays, retry logic, error handling, etc.

GenericRestClient

Wraps SimpleWebRequest for usage across a single RESTful service. In our codebase, we have several specific RESTful service interaction classes that each implement GenericRestClient so that all of the requests get the same error handling, authentication, header-setting, etc.