We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hello, I am wondering, with this library, is it possible to use an existing WebSocket that was created in JS land, something like
exportConnect := js.FuncOf(func(this js.Value, args []js.Value) any { // ... socket := args[0] conn, _, err := websocket.From(ctx, socket) netconn := websocket.NetConn(ctx, conn, websocket.MessageBinary) // ... }) js.Global().Set("go__connect", exportConnect)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I am wondering, with this library, is it possible to use an existing WebSocket that was created in JS land, something like
The text was updated successfully, but these errors were encountered: