Welcome! Log In Create A New Profile

Advanced

[njs] Types: updated TS definitions.

Dmitry Volyntsev
October 08, 2021 09:42AM
details: https://hg.nginx.org/njs/rev/9291aef80a73
branches:
changeset: 1715:9291aef80a73
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Fri Oct 08 13:40:58 2021 +0000
description:
Types: updated TS definitions.

diffstat:

ts/ngx_core.d.ts | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r b5d102eb81c1 -r 9291aef80a73 ts/ngx_core.d.ts
--- a/ts/ngx_core.d.ts Fri Oct 08 12:32:42 2021 +0300
+++ b/ts/ngx_core.d.ts Fri Oct 08 13:40:58 2021 +0000
@@ -95,6 +95,12 @@ interface NgxFetchOptions {
* Request method, by default the GET method is used.
*/
method?: NjsStringLike;
+ /**
+ * Enables or disables verification of the HTTPS server certificate,
+ * by default is true.
+ * @since 0.7.0
+ */
+ verify?: boolean;
}

interface NgxObject {
@@ -111,7 +117,7 @@ interface NgxObject {
/**
* Makes a request to fetch an URL.
* Returns a Promise that resolves with the NgxResponse object.
- * Only the http:// scheme is supported, redirects are not handled.
+ * Since 0.7.0 HTTPS is supported, redirects are not handled.
* @param url URL of a resource to fetch.
* @param options An object containing additional settings.
* @since 0.5.1
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Types: updated TS definitions.

Dmitry Volyntsev 243 October 08, 2021 09:42AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready