-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
GSoC Refactor: serverMode, clientMode, replace sockjs with ws #1860
Comments
If we do that We need a similar method for the client. I'm not sure how to do this best so that the user can pass their implementation into the Node server. Maybe I am missing an easier way. My thoughts are:
|
Tasks to complete for client/server refactor: Server
Client
Extra
Edit
|
@Loonride LGTM @evilebottnawi thoughts? |
LGTM, we can introduce serverMode and clientMode as experimental to allow us do breaking changes without major release Don't forget about CLI refactor |
/cc @Loonride friendly ping, what is status of |
@evilebottnawi Once #2090 is merged,
Then what remains is: Higher priority
Lower priority (More related to custom implementations than to
|
For do you think about union this options to one,
Why?
|
@evilebottnawi Good idea, maybe we should use a different name like |
agree, |
I like this schema:) transportMode: {
server: 'ws',
client: 'ws'
} |
@Loonride yep, let's rename mode to |
Done and |
sockjs
as a direct dependency, by default this will be replaced withws
clientMode: 'ws'
, by defaultsockjs
themselves, then setclientMode: require.resolve('sockjs')
if they want to support older browsers with dicey websocket support.The text was updated successfully, but these errors were encountered: