[njs] HTTP: improved TypeScript API description for detached subrequests.
Dmitry Volyntsev
xeioex at nginx.com
Mon Jul 6 18:39:34 UTC 2020
details: https://hg.nginx.org/njs/rev/2c3c34706ce2
branches:
changeset: 1450:2c3c34706ce2
user: Artem S. Povalyukhin <artem.povaluhin at gmail.com>
date: Sat Jun 27 19:26:41 2020 +0300
description:
HTTP: improved TypeScript API description for detached subrequests.
diffstat:
nginx/ts/ngx_http_js_module.d.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f2e8486b3b6d -r 2c3c34706ce2 nginx/ts/ngx_http_js_module.d.ts
--- a/nginx/ts/ngx_http_js_module.d.ts Sat Jun 27 19:26:41 2020 +0300
+++ b/nginx/ts/ngx_http_js_module.d.ts Sat Jun 27 19:26:41 2020 +0300
@@ -350,7 +350,7 @@ interface NginxHTTPRequest {
subrequest(uri: NjsStringLike, options: NginxSubrequestOptions | string,
callback:(reply:NginxHTTPRequest) => void): void;
subrequest(uri: NjsStringLike, callback:(reply:NginxHTTPRequest) => void): void;
- subrequest(uri: NjsStringLike, options: NginxSubrequestOptions): void;
+ subrequest(uri: NjsStringLike, options: NginxSubrequestOptions & { detached: true }): void;
/**
* Current URI in request, normalized.
*/
More information about the nginx-devel
mailing list