Michael Solomon

Results 282 comments of Michael Solomon

@kettanaito fixed [this reply](https://github.com/mswjs/interceptors/pull/462#discussion_r1348577996). It has been a while, so could you please review this PR to ensure that we haven't missed anything? Thank you!

Sorry for the incomplete description. I have updated it.

> Yet another attempt at the Socket-based interceptor The N time's a charm. :) > Since the body stream is the last thing we need to call the request listener,...

It appears that the [process.binding](https://github.com/nodejs/node/pull/50687) function is going to be removed. Update: seems like we can use `const { HTTPParser } = require('_http_common')` (or `import { HTTPParser } from 'node:_http_common'`)...

> this.mockConnect(this.shadow) How is this propogate the `connect/ready/lookup` events to the ClientRequest so it will continue to write the data? > Catch 22 >Problems with this solution: Probably not a...

I opened a feature request for official mocking API like undici has: https://github.com/nodejs/node/issues/51979

> Not anymore. This is impressive! how so?