A simple set of wrappers for RESTful calls
Перейти к файлу
Taavi Kuusik 29b0f364b2 Changed WebResponse.url to use XHR.responseURL instead of initial request url 2017-06-30 16:49:05 -07:00
src Changed WebResponse.url to use XHR.responseURL instead of initial request url 2017-06-30 16:49:05 -07: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 Tweaking build scripts and fixing a small issue with Shir's commit 2017-06-26 13:14:44 -07:00
tsconfig.json More cleanup for release 2016-11-02 17:24:37 -07:00
tslint.json Moving from lodash lib dependency to it's subset (#3) 2017-05-17 14:46:28 -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.