Select what subprotocol to use when connecting to an server. Each server supports its own variants of subprotocols.
ws://localhost:1337/
supports text or jsonwss://echo.websocket.org
support no subprotocols.Open up devtools and see output in the console and network tab.