Basically in Javascript I can make this
var ws = new WebSocket('ws://localhost:8080', 'my-own-subprotocol');
But the configuration for the websocket only allows the following settings
| Setting |
Input Type |
| add_field |
hash |
| codec |
codec |
| mode |
string, one of ["server", "client"] |
| tags |
array |
| type |
string |
| url |
string |
More info