Skip to main content

Defer Responses

cp:otoroshi.next.plugins.NgDeferPlugin

This plugin will expect a X-Defer header or a defer query param and defer the response according to the value in milliseconds. This plugin is some kind of inside joke as one a our customer ask us to make slower apis.

categories:

  • Other

default configuration:

{
"duration" : 0
}