x/net/websocket: add a web socket client when targeting js/wasm #27311
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?v 1.11
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Use web sockets in go while targeting js,wasm
What did you expect to see?
NA
What did you see instead?
NA
If it makes sense, please add a WebSocket client in x/net/websocket when targeting js,wasm. I was digging around some of the code and it looks like it would be possible by taking a similar approach to what was taken with http.Request calling the native browser
fetch
api. Let me know if it's viable and I can take a stab at it.The text was updated successfully, but these errors were encountered: