Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_js_module.xml @ 3014:c0a4a4a55e45
Documented Periodic Session object in njs Reference.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 29 Sep 2023 20:06:59 +0100 |
parents | 55d49eb065ac |
children | 58f0d9d7fe1d |
comparison
equal
deleted
inserted
replaced
3013:1ad61bfc7630 | 3014:c0a4a4a55e45 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_http_js_module" | 9 <module name="Module ngx_http_js_module" |
10 link="/en/docs/http/ngx_http_js_module.html" | 10 link="/en/docs/http/ngx_http_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="43"> | 12 rev="44"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_js_module</literal> module is used to implement | 17 The <literal>ngx_http_js_module</literal> module is used to implement |
551 <context>limit_except</context> | 551 <context>limit_except</context> |
552 <appeared-in>0.8.1</appeared-in> | 552 <appeared-in>0.8.1</appeared-in> |
553 | 553 |
554 <para> | 554 <para> |
555 Specifies a content handler to run at regular interval. | 555 Specifies a content handler to run at regular interval. |
556 The handler receives a session object as its first argument, | 556 The handler receives a |
557 <link doc="../njs/reference.xml" id="periodic_session">session object</link> | |
558 as its first argument, | |
557 it also has access to global objects such as | 559 it also has access to global objects such as |
558 <link doc="../njs/reference.xml" id="ngx">ngx</link>. | 560 <link doc="../njs/reference.xml" id="ngx">ngx</link>. |
559 </para> | 561 </para> |
560 | 562 |
561 <para> | 563 <para> |