I use this method to set request timeout, but it doesn't work. Anyone could tell how to setTimeout when using http2 request? method: request.setTimeout(1000, function () { });
I use this method to set request timeout, but it doesn't work. Anyone could tell how to setTimeout when using http2 request?
method:
request.setTimeout(1000, function () { });