@tinkoff/request

@tinkoff/request

  • How to
  • Plugins
  • Internals
  • GitHub

›Plugins

Core

  • Core
  • Context
  • Request execution
  • Plugin

Plugins

  • Plugins
  • Batch
  • Cache - Deduplicate
  • Cache - Fallback
  • Cache - Memory
  • Cache - Etag
  • Cache - Persistent
  • Log
  • Protocol - Http
  • Protocol - Jsonp
  • Transform - Url
  • Validate
  • Circuit Breaker
  • Prom RED metrics
  • Retry

How to

  • How to

Plugins

Plugins

Plugins can inject to the request flow to change its execution or adjust request\response data. For further see Plugin and Request Execution.

List of plugins

  1. protocol/http - base plugin to make request with http\https
  2. protocol/jsonp - plugin to make jsonp requests
  3. cache/deduplicate - deduplicate identical requests
  4. cache/memory - caches responses into memory
  5. cache/etag - [!server only] cache based on etag http-header
  6. cache/fallback - stores response data and returns it from cache only for errored requests
  7. cache/persistent - [!browser only] caching data at IndexedDB to keep cache among page reloads
  8. log - logs the data of request execution
  9. batch - groups several request into single one
  10. validate - validate response or restore on errors
  11. transform-url - transforms url string for every request
  12. circuit-breaker - [!server only] fault protections
  13. prom-red-metrics - red metrics about sent requests for prometheus
  14. retry - retry plugin for failed request
← PluginBatch →
  • Plugins
  • List of plugins
Copyright © 2023 tinkoff.ru