Welcome! Log In Create A New Profile

Advanced

[njs] HTTP: improved TypeScript API description for detached subrequests.

Dmitry Volyntsev
July 06, 2020 02:40PM
details: https://hg.nginx.org/njs/rev/2c3c34706ce2
branches:
changeset: 1450:2c3c34706ce2
user: Artem S. Povalyukhin <artem.povaluhin@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.
*/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] HTTP: improved TypeScript API description for detached subrequests.

Dmitry Volyntsev 221 July 06, 2020 02:40PM



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

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready