changeset 2902:843bf979dcaa

Added s.sendDownstream and s.sendUpstream to njs reference.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 21 Oct 2022 12:20:28 +0100
parents 9719a0184a67
children 44f3b52c0679
files xml/en/docs/njs/reference.xml
diffstat 1 files changed, 15 insertions(+), 1 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="90">
+        rev="91">
 
 <section id="summary">
 
@@ -819,6 +819,20 @@ true if the buffer should have the <lite
 The method can be called multiple times per callback invocation.
 </tag-desc>
 
+<tag-name id="s_send_downstream"><literal>s.sendDownstream()</literal></tag-name>
+<tag-desc>
+is identical to <link id="s_send">s.send()</link>,
+except for it always sends data to a client
+(since <link doc="changes.xml" id="njs0.7.8">0.7.8</link>).
+</tag-desc>
+
+<tag-name id="s_send_upstream"><literal>s.sendUpstream()</literal></tag-name>
+<tag-desc>
+is identical to <link id="s_send">s.send()</link>,
+except for it always sends data from a client
+(since <link doc="changes.xml" id="njs0.7.8">0.7.8</link>).
+</tag-desc>
+
 <tag-name id="s_status"><literal>s.status</literal></tag-name>
 <tag-desc>
 session status code, an alias to the