socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Realtime application framework (Node.JS server)

Results 359 socket.io issues
Sort by recently updated
recently updated
newest added

**Describe the bug** When you do this: ```ts import {Server} from "socket.io"; const io = new Server({ cors: { origin: "*" } }); //... io.engine.handleUpgrade(req, socket, head); ``` Code works...

bug

**Describe the bug** According to https://socket.io/docs/v4/listening-to-events/#error-handling it is possible to capture errors thrown in events by enabling captureRejections but doesn't seem to work. Is this example up to date? If...

documentation

**Describe the bug** We use socket.io with Google Cloud Run with with redis-adapter for exchanging data across node-cluster and multiple containers. The challenge is that Google Cloud Run kills the...

needs investigation

proposes a new code of conduct for socket.io repo. ### The kind of change this PR does introduce * [ ] a bug fix * [ ] a new feature...

**Examples Page** On the examples page, there is an example of applying private messages in a Vue workspace. **The request** As a React user, I think it would be helpfull...

documentation

**Is your feature request related to a problem? Please describe.** As a universal wrapper for agnostic runtime, we use [`emitter.eventNames()`](https://nodejs.org/api/events.html#emittereventnames). But for socket.io this function is not implemented **Describe the...

enhancement

https://socket.io/docs/v4/server-api/ shows some examples of .e.g `io.use()`, but it never explains what they are. https://socket.io/docs/v4/namespaces/#main-namespace explains that all those versions are interacting with the main namespace: ```js io.on("connection", (socket) =>...

documentation

**Describe the bug** When you initialize socket server, you can either give it an external instance of `HTTPServer`, or let socket.io create its own internal instance. However, in either case,...

enhancement

**Is your feature request related to a problem? Please describe.** Our app uses winston to send logs to different targets, e.g. log files. However, the Logs of socket.io are sent...

enhancement

**Describe the bug** **Situation**: I made a repository for testing: https://github.com/ZweiEuro/electron_socket_test It has: server.js - minimal socket io server that just console.logs conections. CORS * so that is not an...

needs investigation