# HG changeset patch # User Yaroslav Zhuravlev # Date 1531245312 -10800 # Node ID b91e766acbd4d2a8b2644fb6d9a7355d6e2b9636 # Parent 85c8fecd730983119cd0780261fe30ba4c3fb21a Updated HTTP request and stream session sections for njs. diff --git a/xml/en/docs/njs/njs_api.xml b/xml/en/docs/njs/njs_api.xml --- a/xml/en/docs/njs/njs_api.xml +++ b/xml/en/docs/njs/njs_api.xml @@ -586,19 +586,13 @@ Oglm93xn23_MkiaEq_e9u8zk374 -
+
-The HTTP object is available only in the +The HTTP request object is available only in the ngx_http_js_module module. -All string properties of the HTTP object are -byte strings. - +All string properties of the object are byte strings. - -
- - r.args{} @@ -769,23 +763,15 @@ identical to the parent request object.
-
- -
+
-The stream object is available only in the +The stream session object is available only in the ngx_stream_js_module module. -All string properties of the stream object are -byte strings. - +All string properties of the object are byte strings. - -
- - s.remoteAddress @@ -862,8 +848,6 @@ on the error level of
-
-
diff --git a/xml/en/docs/njs/njs_changes.xml b/xml/en/docs/njs/njs_changes.xml --- a/xml/en/docs/njs/njs_changes.xml +++ b/xml/en/docs/njs/njs_changes.xml @@ -9,7 +9,7 @@
@@ -27,7 +27,7 @@ nginx modules: Change: merged HTTP Response and Reply -into Request. +into HTTP Request. New members of Request: