socket.io
socket.io copied to clipboard
Realtime application framework (Node.JS server)
It would be super awesome if socket.io can use QUIC as one of its transport layers.
There are `socket.request.headers`, `socket.conn.request.headers` and `socket.handshake.headers` all referencing the same thing, so this is just a suggestion for a clearer interface around request data. Socket.IO server version: `3.1.0` https://github.com/socketio/socket.io/blob/3.1.0/lib/socket.ts#L126 https://github.com/socketio/socket.io/blob/3.1.0/lib/socket.ts#L587-L589...
### You want to: * [ ] report a *bug* * [x] request a *feature* ### Current behaviour A callback defined like so: ``` socket.emit("message", data, function callback(err) { });...
customRequest / customHook were triggered for all servers (including current node). serverSideEmit only works for "other" nodes. ``` if (request.uid === this.uid) { debug("ignore same uid"); return; } ``` Of...
Socket client and server version v4.0.2 Socket redis adapter v6.1.0 My socket.io client is creating a new connection consistently every 4-5minutes. It calls the event `connection_error` with the error `ping_timeout`....
**Describe the bug** In 3.x of socket.io I could do the following: ```ts import {Socket as ServerSocket} from 'socket.io'; import {Socket as ClientSocket} from 'socket.io-client'; function doStuff(ws: ClientSocket | ServerSocket)...
**Is your feature request related to a problem? Please describe.** v4 RemoteSocket unsupport to/in function send to everyone in the room except sender when use the controller(KOA or exressjs) ,...
**Is your feature request related to a problem? Please describe.** I spent about an hour messing around to figure this out, but I needed a way to drop (or reject)...
### You want to: * [ ] report a *bug* * [x] request a *feature* ### Current behaviour * socket.io instantiates an adapter, but does not wait for a callback...
### The kind of change this PR does introduce * [ ] a bug fix * [ ] a new feature * [ ] an update to the documentation *...