Avi Vahl
6f9b198bc8
chore(deps): ws@8.18.3, debug@4.4.1 ( #5335 )
...
Release notes:
- https://github.com/websockets/ws/releases/tag/8.18.3
- https://github.com/debug-js/debug/releases/tag/4.4.1
2025-09-11 07:51:07 +02:00
Damien Arrachequesne
4ca6ddb3a2
docs(nuxt): update example with latest version
...
Related: https://github.com/socketio/socket.io/issues/5208
[skip ci]
2024-10-23 08:19:48 +02:00
Damien Arrachequesne
175a2c58c1
fix(eio-client/types): remove ws type from .d.ts file
...
Before this change, the following error would be thrown when compiling
with TypeScript:
```
node_modules/engine.io-client/build/esm/transports/websocket.node.d.ts:12:101 - error TS1340: Module 'ws' does not refer to a type, but is used as a type here. Did you mean 'typeof import('ws')'?
12 createSocket(uri: string, protocols: string | string[] | undefined, opts: Record<string, any>): import("ws");
~~~~~~~~~~~~
```
This behavior was introduced in [1], included in version `6.6.0`.
The return type is forced as `any`, so that the `@types/ws` dependency
is optional.
[1]: f4d898ee96
Related: https://github.com/socketio/socket.io/issues/5202
2024-10-19 07:09:19 +02:00
Damien Arrachequesne
b7577556e3
docs: add example with NestJS
...
Reference: https://docs.nestjs.com/websockets/gateways
[skip ci]
2024-07-22 10:07:45 +02:00
Damien Arrachequesne
6e9bff4fcf
docs: add example with @socket.io/postgres-adapter
...
[skip ci]
2024-07-19 15:20:12 +02:00
Damien Arrachequesne
8b0a40fd4a
docs: add examples with @socket.io/cluster-engine
...
[skip ci]
2024-07-19 08:42:38 +02:00
pouria azad
89c4c7eb47
refactor(examples): minor tweak ( #5017 )
2024-05-10 05:00:20 +02:00
Damien Arrachequesne
b25e728da0
docs: update TypeScript example
2024-04-26 07:45:48 +02:00
Damien Arrachequesne
14d4997dbc
docs: add example with NW.js
2024-04-12 11:13:31 +02:00
Damien Arrachequesne
907f102517
docs: update React Native example
2024-04-05 19:19:39 +02:00
Damien Arrachequesne
be2da4e4dc
docs: add example with Nuxt
2024-03-29 10:00:23 +01:00
Damien Arrachequesne
61f444956b
docs: add example with Next.js (with app router)
2024-03-27 11:02:03 +01:00
Damien Arrachequesne
b0568b20c1
docs: add example with Next.js (with pages router)
2024-03-25 18:05:22 +01:00
Damien Arrachequesne
e36062ca2d
docs: update the webtransport example
...
Reference: https://github.com/fails-components/webtransport#changes-for-version-1xx
2024-01-17 13:01:57 +01:00
Damien Arrachequesne
0bbe8aec77
docs: only execute the passport middleware once
...
Before this change, the session and user context were retrieved once
per HTTP request and not once per session.
2024-01-13 17:56:17 +01:00
Damien Arrachequesne
914a8bd2b9
docs: add example with JWT
...
Related: https://github.com/socketio/socket.io/issues/4910
2024-01-13 17:14:01 +01:00
Damien Arrachequesne
d943c3e0b0
docs: update the Passport.js example
2024-01-12 17:08:19 +01:00
Damien Arrachequesne
efb5c21e85
docs(examples): add Vue client with CRUD example
2023-11-22 10:12:17 +01:00
Damien Arrachequesne
3848280125
docs(examples): upgrade basic-crud-application to Angular v17
...
Related: https://github.com/socketio/socket.io/issues/4875
2023-11-21 14:15:50 +01:00
Damien Arrachequesne
b4dc83eb9b
docs(examples): add codesandbox configuration
2023-09-20 12:57:37 +02:00
Damien Arrachequesne
ccbb4c0773
docs: add example with connection state recovery
2023-09-20 12:45:04 +02:00
Damien Arrachequesne
d744fda772
docs: improve example with express-session
...
The example is now available with different syntaxes:
- CommonJS
- ES modules
- TypeScript
Related: https://github.com/socketio/socket.io/pull/4787
2023-09-13 15:56:15 +02:00
Damien Arrachequesne
8259cdac84
docs: use io.engine.use() with express-session
...
Related: https://github.com/socketio/socket.io/discussions/4819
2023-09-13 12:13:03 +02:00
Damien Arrachequesne
fd9dd74eee
docs: use "connection" instead of "connect"
...
"connect" and "connection" have the same meaning, but "connection" is
the preferred version.
2023-08-12 10:10:55 +02:00
Damien Arrachequesne
443e447087
docs(examples): add example with WebTransport
2023-06-29 11:21:27 +02:00
Damien Arrachequesne
a5dff0ac83
docs(examples): increase httpd ProxyTimeout value (2)
2023-06-21 00:07:44 +02:00
Damien Arrachequesne
3035c25982
docs(examples): increase httpd ProxyTimeout value
...
With a value that is too small, the HTTP long-polling request receives
an HTTP 502 response code and the connection gets closed.
2023-06-20 23:57:46 +02:00
Damien Arrachequesne
cbf0362476
docs(examples): bump dependencies for the private messaging example
...
Related: https://github.com/socketio/socket.io/issues/4681
2023-05-02 18:07:07 +02:00
Damien Arrachequesne
59280da20b
docs(examples): update examples to docker compose v2
...
Reference: https://docs.docker.com/compose/
Related: https://github.com/socketio/socket.io/discussions/4669
2023-04-07 15:57:20 +02:00
Damien Arrachequesne
6458b2bef1
docs(example): basic WebSocket-only client
2023-03-24 11:17:29 +01:00
Damien Arrachequesne
b56da8a99f
docs(examples): upgrade to React 18
...
Reference: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html
2023-03-07 08:31:21 +01:00
Damien Arrachequesne
19b225b0c8
docs(examples): update dependencies of the basic CRUD example
...
Related: https://github.com/socketio/socket.io/issues/4409
2022-10-14 10:39:40 +02:00
Damien Arrachequesne
572133a58d
docs(examples): update example with webpack
2022-04-22 23:10:01 +02:00
Damien Arrachequesne
06e6838b18
docs(examples): add server bundling example with rollup
...
Related: https://github.com/socketio/socket.io/issues/4329
2022-04-22 22:40:15 +02:00
WD
1f03a44d1f
docs(examples): update create-react-app example ( #4347 )
2022-04-20 22:47:34 +02:00
Damien Arrachequesne
be3d7f0f1f
docs(examples): add TODO example with Postgres and Node.js cluster
2022-04-07 12:35:00 +02:00
Damien Arrachequesne
d12aab2d69
docs(examples): add example with express-session
...
Related: https://github.com/socketio/socket.io/issues/3933
2022-04-02 11:08:26 +02:00
Damien Arrachequesne
9f758689f6
docs(examples): pin the version of karma-jasmine-html-reporter
...
Related:
- https://github.com/socketio/socket.io/issues/4325
- https://github.com/dfederm/karma-jasmine-html-reporter/issues/54
2022-04-01 14:42:34 +02:00
Damien Arrachequesne
c196689545
docs: fix basic crud example
...
Related: https://github.com/socketio/socket.io/issues/4213
2021-12-16 23:00:20 +01:00
Mikhail Dudin
7a70f63499
docs: fix reconnection handling in the chat demo app ( #4189 )
2021-12-01 00:03:43 +01:00
Damien Arrachequesne
2071a66c5a
docs: simplify nginx cluster example
...
- remove useless Dockerfile
- clean format
- migrate to @socket.io/redis-adapter
2021-11-24 18:15:26 +01:00
brownman
310f8557a7
docs(examples): add missing module ( #4018 )
...
Fixes the following error:
> test/todo-management/todo.tests.ts:275:3 - error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
Co-authored-by: brownman <brownman@users.noreply.github.com >
2021-07-15 21:48:20 +02:00
Damien Arrachequesne
6f2a50b932
docs(examples): update example to webpack 5
2021-06-15 22:35:06 +02:00
Damien Arrachequesne
3665aada47
docs(examples): basic CRUD application
...
See also: https://socket.io/get-started/basic-crud-application/
2021-04-23 00:08:18 +02:00
Maxime Kjaer
259f29720b
docs(examples): remove unnecessary type annotations ( #3855 )
...
Typed events in Socket.IO 4.0 remove the need for writing type
annotations in callbacks of reserved events.
2021-03-24 23:12:22 +01:00
Damien Arrachequesne
b4ae8d2e19
docs(examples): update all examples to Socket.IO v4
2021-03-18 15:07:04 +01:00
Adán Toscano
64be1c9985
docs(examples): fix chat example ( #3787 )
2021-03-18 14:06:13 +01:00
Damien Arrachequesne
7467216e02
docs(examples): 4th and final part of the "private messaging" example
...
See also: https://socket.io/get-started/private-messaging-part-4/
2021-02-17 00:24:23 +01:00
Damien Arrachequesne
7247b4051f
docs(examples): 3rd part of the "private messaging" example
...
See also: https://socket.io/get-started/private-messaging-part-3/
2021-02-17 00:22:55 +01:00
Damien Arrachequesne
992c9380c3
docs(examples): 2nd part of the "private messaging" example
...
See also: https://socket.io/get-started/private-messaging-part-2/
2021-02-15 01:09:12 +01:00