Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2331:5eba0f7b24a9
njs-0.2.8
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 26 Feb 2019 18:11:41 +0300 |
parents | ae56e4613280 |
children | 9d502d4305ac |
comparison
equal
deleted
inserted
replaced
2330:2efd714bb10a | 2331:5eba0f7b24a9 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Reference" | 9 <article name="Reference" |
10 link="/en/docs/njs/reference.html" | 10 link="/en/docs/njs/reference.html" |
11 lang="en" | 11 lang="en" |
12 rev="19"> | 12 rev="20"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <link doc="index.xml">njs</link> provides objects, methods and properties | 17 <link doc="index.xml">njs</link> provides objects, methods and properties |
57 can be accessed with the syntax <literal>headersIn.foo</literal> | 57 can be accessed with the syntax <literal>headersIn.foo</literal> |
58 or <literal>headersIn['Foo']</literal> | 58 or <literal>headersIn['Foo']</literal> |
59 </para> | 59 </para> |
60 </tag-desc> | 60 </tag-desc> |
61 | 61 |
62 <tag-name><literal>r.headersOut{}</literal></tag-name> | 62 <tag-name id="r_headers_out"><literal>r.headersOut{}</literal></tag-name> |
63 <tag-desc> | 63 <tag-desc> |
64 outgoing headers object, writable. | 64 outgoing headers object, writable. |
65 <para> | 65 <para> |
66 For example, the <literal>Foo</literal> header | 66 For example, the <literal>Foo</literal> header |
67 can be accessed with the syntax <literal>headersOut.foo</literal> | 67 can be accessed with the syntax <literal>headersOut.foo</literal> |