Mercurial > hg > nginx-site
changeset 2202:b91e766acbd4
Updated HTTP request and stream session sections for njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 10 Jul 2018 20:55:12 +0300 |
parents | 85c8fecd7309 |
children | 56a8cfb422ae |
files | xml/en/docs/njs/njs_api.xml xml/en/docs/njs/njs_changes.xml |
diffstat | 2 files changed, 8 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/njs_api.xml +++ b/xml/en/docs/njs/njs_api.xml @@ -586,19 +586,13 @@ Oglm93xn23_MkiaEq_e9u8zk374 </section> -<section id="http" name="HTTP"> +<section id="http" name="HTTP Request"> <para> -The <literal>HTTP</literal> object is available only in the +The HTTP request object is available only in the <link doc="../http/ngx_http_js_module.xml">ngx_http_js_module</link> module. -All string properties of the <literal>HTTP</literal> object are -<link id="string">byte strings</link>. -</para> +All string properties of the object are <link id="string">byte strings</link>. - -<section id="http_request" name="Request"> - -<para> <list type="tag"> <tag-name><literal>r.args{}</literal></tag-name> @@ -769,23 +763,15 @@ identical to the parent request object. </section> -</section> - -<section id="stream" name="Stream"> +<section id="stream" name="Stream Session"> <para> -The <literal>stream</literal> object is available only in the +The stream session object is available only in the <link doc="../stream/ngx_stream_js_module.xml">ngx_stream_js_module</link> module. -All string properties of the <literal>stream</literal> object are -<link id="string">byte strings</link>. -</para> +All string properties of the object are <link id="string">byte strings</link>. - -<section id="stream_session" name="Session"> - -<para> <list type="tag"> <tag-name><literal>s.remoteAddress</literal></tag-name> @@ -862,8 +848,6 @@ on the <literal>error</literal> level of </section> -</section> - <section id="example" name="Examples">
--- a/xml/en/docs/njs/njs_changes.xml +++ b/xml/en/docs/njs/njs_changes.xml @@ -9,7 +9,7 @@ <article name="njs Changes" link="/en/docs/njs/njs_changes.html" lang="en" - rev="4" + rev="5" toc="no"> <section id="njs0.2.2" name="Changes with 0.2.2"> @@ -27,7 +27,7 @@ nginx modules: <para> Change: merged HTTP <literal>Response</literal> and <literal>Reply</literal> -into <link doc="njs_api.xml" id="http_request">Request</link>. +into <link doc="njs_api.xml" id="http">HTTP Request</link>. New members of <literal>Request</literal>: <list type="bullet">