Name Date Size #Lines LOC

..20-Aug-2019-

README.txtH A D22-Jun-2019588 1511

WSBuffer.ccH A D20-Aug-20196.6 KiB260179

WSBuffer.hH A D22-Jun-20192.4 KiB9035

WebSocket.ccH A D22-Jun-20194.3 KiB159109

WebSocket.hH A D22-Jun-20191.8 KiB6730

README.txt

1To test this plugin, add WebSocket.so to plugin.config, start
2Traffic Server, then in a browser JavaScript console enter the
3following:
4
5  ws = new WebSocket('ws://some.host:8080/');
6  ws.onmessage = function(e) { console.log(e.data); };
7  ws.send('hello');
8
9The host name 'some.host' must resolve to the server where Traffic
10Server is running. You should get a response from the plugin.
11
12It appears to be necessary that the host name be a valid DNS name on
13the server where Traffic Server is running. If not, the WebSocket
14connection will fail with an error of 502 "Cannot find server."
15