NGINX · JSON Structure

Njs Periodic Session Structure

Object provided as the first argument to js_periodic handlers for both http and stream (since 0.8.1).

Type: object Properties: 0
API GatewayCachingCloud NativeLoad BalancerOpen SourceReverse ProxyWeb Server

PeriodicSession is a JSON Structure definition published by NGINX. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "PeriodicSession",
  "description": "Object provided as the first argument to js_periodic handlers for both http and stream (since 0.8.1).",
  "type": "object",
  "members": {
    "variables": {
      "description": "NGINX variables object (writable).",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "example": {}
    },
    "rawVariables": {
      "description": "NGINX variables as Buffers (writable).",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "example": {}
    }
  }
}