node-http2 icon indicating copy to clipboard operation
node-http2 copied to clipboard

How to set request setTimeout?

Open indieyourself opened this issue 8 years ago • 1 comments
trafficstars

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 () { });

indieyourself avatar Apr 09 '17 16:04 indieyourself

The same issue here. This function exists, but it doesn't work.

magiclen avatar Jun 05 '17 04:06 magiclen