Mercurial > hg > nginx-site
diff xml/en/docs/njs_about.xml @ 2129:4212f4520070
Updated "About njs" with methods supported in njs-0.2.0.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 03 Apr 2018 20:38:25 +0300 |
parents | 59a3cc84f507 |
children | 302fbdd94a04 |
line wrap: on
line diff
--- a/xml/en/docs/njs_about.xml +++ b/xml/en/docs/njs_about.xml @@ -9,7 +9,7 @@ <article name="About njs" link="/en/docs/njs_about.html" lang="en" - rev="14"> + rev="15"> <section id="summary"> @@ -176,13 +176,24 @@ ES5.1 global functions: </listitem> <listitem> +<literal>setTimeout</literal>, <literal>clearTimeout</literal> functions +</listitem> + +<listitem> <literal>File system</literal> methods -(Node.js <link url="https://nodejs.org/api/fs.html#fs_file_system">style</link>): +(<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>): <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>, <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>, <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal> </listitem> +<listitem> +<literal>Crypto</literal> methods +(<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link>): +<literal>crypto.createHash</literal>, +<literal>crypto.createHmac</literal> +</listitem> + </list> </para> @@ -211,7 +222,7 @@ labels </listitem> <listitem> -<literal>setTimeout</literal>, <literal>setInterval</literal>, +<literal>setInterval</literal>, <literal>setImmediate</literal> functions </listitem>