mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
176 B
JavaScript
9 lines
176 B
JavaScript
|
'use strict';
|
||
|
|
||
|
module.exports = function () {
|
||
|
throw new Error(
|
||
|
'ws does not work in the browser. Browser clients must use the native ' +
|
||
|
'WebSocket object'
|
||
|
);
|
||
|
};
|