New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encapsulate sockjs, introduce ws and build base for users to make own server implementation #1904
Changes from 1 commit
5a6b2a4
2f22843
62cc34c
f915ce5
8f6bd69
11b6522
bee6f83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
'use strict'; | ||
|
||
// const ws = require('ws'); | ||
const BaseServer = require('./baseServer'); | ||
const BaseServer = require('./BaseServer'); | ||
|
||
// ws server implementation under construction | ||
// will need changes in the client as well to function | ||
module.exports = class WSServer extends BaseServer {}; | ||
module.exports = class WsServer extends BaseServer {}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. /cc @hiroppy What do you think is better:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like WebsocketServer. For example, the plugin name of wasm(WebAssemblyPlugin) which webpack has is not omitted. But this example is webpack, not webpack-dev-server. In any case, I think that it is easier to understand if it is not omitted. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 let's use /cc @Loonride |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file name should be changed from
wsServer.js
toWsServer
.