comparison xml/en/docs/stream/ngx_stream_js_module.xml @ 3007:3184864bbb3f

Added SharedDict to njs Reference.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 16 Aug 2023 12:12:22 +0100
parents 7eafa16bb07c
children 4470b2bff7b7
comparison
equal deleted inserted replaced
3006:0e805229dd19 3007:3184864bbb3f
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_js_module" 9 <module name="Module ngx_stream_js_module"
10 link="/en/docs/stream/ngx_stream_js_module.html" 10 link="/en/docs/stream/ngx_stream_js_module.html"
11 lang="en" 11 lang="en"
12 rev="38"> 12 rev="39">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_js_module</literal> module is used to implement 17 The <literal>ngx_stream_js_module</literal> module is used to implement
620 <context>stream</context> 620 <context>stream</context>
621 <appeared-in>0.8.0</appeared-in> 621 <appeared-in>0.8.0</appeared-in>
622 622
623 <para> 623 <para>
624 Sets the <value>name</value> and <value>size</value> of the shared memory zone 624 Sets the <value>name</value> and <value>size</value> of the shared memory zone
625 that keeps the key-value dictionary 625 that keeps the
626 key-value <link doc="../njs/reference.xml" id="dict">dictionary</link>
626 shared between worker processes. 627 shared between worker processes.
627 </para> 628 </para>
628 629
629 <para> 630 <para>
630 By default the shared dictionary uses a string as a key and a value. 631 By default the shared dictionary uses a string as a key and a value.