From: Dmitry Volyntsev Date: Fri, 8 Oct 2021 13:40:58 +0000 (+0000) Subject: Types: updated TS definitions. X-Git-Tag: 0.7.0~11 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=1d9cb4745c89891af911738d868e14541b495319;p=njs.git Types: updated TS definitions. --- 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