changeset 2997:adecad3d7039

Added link to subrequest response object in njs Reference.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 16 Aug 2023 12:12:22 +0100
parents 98bd95a5ac70
children 050d2e099e16
files xml/en/docs/njs/reference.xml
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -9,7 +9,7 @@
 <article name="Reference"
         link="/en/docs/njs/reference.html"
         lang="en"
-        rev="111">
+        rev="112">
 
 <section id="summary">
 
@@ -584,7 +584,7 @@ are mutually exclusive.
 
 <para>
 The completion <literal>callback</literal> receives
-a subrequest response object with methods and properties
+a <link id="http">subrequest response object</link> with methods and properties
 identical to the parent request object.
 </para>
 
@@ -592,7 +592,8 @@ identical to the parent request object.
 Since <link doc="changes.xml" id="njs0.3.8">0.3.8</link>,
 if a <literal>callback</literal> is not provided,
 the <literal>Promise</literal> object
-that resolves to the subrequest response object is returned.
+that resolves to the <link id="http">subrequest response object</link>
+is returned.
 </para>
 </tag-desc>