Robert Nagy

Results 385 comments of Robert Nagy

I wonder if it is possible to implement a custom stream controller? @jasnell

This is unfortunately for web streams, not node streams.

I don't think you need to develop a new `Agent` or `Pool`. What we need is either modify existing `Client` to support both or create a new `Http2Client`, rename `Client`...

I think http2 should always be https? I don’t think we need to support the non TLS case for http2.

The api methods are assigned to the prototypes in index.js. See, https://github.com/nodejs/undici/blob/main/index.js#L15.

> Can we safely implement a wider `Client.upgrade` return context? It only provides the headers and socket, but I need the full response body too. No idea. As far as...

> Answers, anyone? I don’t have a better answer. As far as I know there is no body with an upgrade so your question doesn’t make sense to me. Sorry....

> Right after sending the 101 status code, the server can begin speaking the new protocol, performing any additional protocol-specific handshakes as necessary. Effectively, the connection becomes a two-way pipe...