Mercurial > hg > nginx-site
diff xml/en/docs/njs/reference.xml @ 2545:dca5a7053a6c
Sorted alphabetically njs http methods.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 May 2020 15:05:49 +0100 |
parents | 33347df1da9c |
children | 6093e9f3615e |
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml Tue May 19 15:05:49 2020 +0100 +++ b/xml/en/docs/njs/reference.xml Tue May 19 15:05:49 2020 +0100 @@ -9,7 +9,7 @@ <article name="Reference" link="/en/docs/njs/reference.html" lang="en" - rev="42"> + rev="43"> <section id="summary"> @@ -139,12 +139,6 @@ HTTP version, read-only </tag-desc> -<tag-name><literal>r.log(<value>string</value>)</literal></tag-name> -<tag-desc> -writes a <literal>string</literal> to the error log -on the <literal>info</literal> level of logging -</tag-desc> - <tag-name id="r_internal_redirect"><literal>r.internalRedirect(<value>uri</value>)</literal></tag-name> <tag-desc> performs an internal redirect to the specified <literal>uri</literal>. @@ -153,6 +147,12 @@ The actual redirect happens after the handler execution is completed. </tag-desc> +<tag-name><literal>r.log(<value>string</value>)</literal></tag-name> +<tag-desc> +writes a <literal>string</literal> to the error log +on the <literal>info</literal> level of logging +</tag-desc> + <tag-name><literal>r.method</literal></tag-name> <tag-desc> HTTP method, read-only @@ -215,26 +215,6 @@ status, writable </tag-desc> -<tag-name id="r_variables"><literal>r.variables{}</literal></tag-name> -<tag-desc> -nginx variables object, -writable (since <link doc="changes.xml" id="njs0.2.8">0.2.8</link>) -</tag-desc> - -<tag-name><literal>r.warn(<value>string</value>)</literal></tag-name> -<tag-desc> -writes a <literal>string</literal> to the error log -on the <literal>warning</literal> level of logging -</tag-desc> - -<tag-name id="r_uri"><literal>r.uri</literal></tag-name> -<tag-desc> -current <link doc="../http/ngx_http_core_module.xml" id="var_uri">URI</link> -in request, -<link doc="../http/ngx_http_core_module.xml" id="location">normalized</link>, -read-only -</tag-desc> - <tag-name id="subrequest"><literal>r.subrequest(<value>uri</value>[, <value>options</value>[, <value>callback</value>]])</literal></tag-name> <tag-desc> @@ -302,6 +282,26 @@ </para> </tag-desc> +<tag-name id="r_uri"><literal>r.uri</literal></tag-name> +<tag-desc> +current <link doc="../http/ngx_http_core_module.xml" id="var_uri">URI</link> +in request, +<link doc="../http/ngx_http_core_module.xml" id="location">normalized</link>, +read-only +</tag-desc> + +<tag-name id="r_variables"><literal>r.variables{}</literal></tag-name> +<tag-desc> +nginx variables object, +writable (since <link doc="changes.xml" id="njs0.2.8">0.2.8</link>) +</tag-desc> + +<tag-name><literal>r.warn(<value>string</value>)</literal></tag-name> +<tag-desc> +writes a <literal>string</literal> to the error log +on the <literal>warning</literal> level of logging +</tag-desc> + </list> </para>