wintercg / proposal-common-minimum-api

https://common-min-api.proposal.wintercg.org/
Other
227 stars 13 forks source link

WebSocket #66

Open KhafraDev opened 7 months ago

KhafraDev commented 7 months ago

Cloudflare workers, Deno, node, bun all have it in some capacity. But it's also extremely limited and there is little incentive from browsers to change it.

Node supports passing a dictionary as the second argument, ie. for setting custom headers or undici dispatchers (which allows for proxying, etc.). If this could be standardized it'd be great.

https://github.com/whatwg/websockets/issues/42 https://github.com/whatwg/websockets/issues/16#issuecomment-881547333