Comprehensive API
Comprehensive API is a mult-functional HTTP client with defaults, intercepts, caching, pooling, retries, streaming, websocket, etc.
For more details, take a look into the Comprehensive API documentation.
Section | Description |
---|
Overview | Overrall introduction, installation, examples. |
Preview | Commented features with sample codes |
Review | Architecture, discursions, patterns, etc. |
Quick Start
Installation with NPM.
npm icomprehensive-api--save
Hook instantiate in modular context.
import { ReactEVO } from 'comprehensive-api'
const todoApi = usageApi("http://sample/todo")
const todos = await todoApi.get()
Advanced fluent features.
usageApi(settings)
.cache(1000)
.pooling(1000)
.retries(3, 100)
.login(username, password)
.token(x => x.access_token)
License
Comprehensive API is MIT licensed.