From 1d9cb4745c89891af911738d868e14541b495319 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Fri, 8 Oct 2021 13:40:58 +0000 Subject: [PATCH] Types: updated TS definitions. --- ts/ngx_core.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ts/ngx_core.d.ts b/ts/ngx_core.d.ts index 4a02f149..4010eed3 100644 --- a/ts/ngx_core.d.ts +++ b/ts/ngx_core.d.ts @@ -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 -- 2.47.3