You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
|`authEndpoint`|`/broadcasting/auth`| The route that authenticates private channels |
83
+
|`authHost`|`http://localhost`| The host of the server that authenticates private and presence channels |
84
+
|`database`|`redis`| Database used to store data that should persist, like presence channel members. Options are currently `redis` and `sqlite`|
85
+
|`databaseConfig`|`{}`| Configurations for the different database drivers [Example](#database)|
86
+
|`host`|`null`| The host of the socket.io server ex.`app.dev`. `null` will accept connections on any IP-address |
87
+
|`port`|`6001`| The port that the socket.io server should run on |
88
+
|`protocol`|`http`| either `http` or `https`|
89
+
|`sslCertPath`|`''`| The path to your server's ssl certificate |
90
+
|`sslKeyPath`|`''`| The path to your server's ssl key |
91
+
|`sslCertChainPath`|`''`| The path to your server's ssl certificate chain |
92
+
|`sslPassphrase`|`''`| The pass phrase to use for the certificate (if applicable) |
93
+
|`socketio`|`{}`| Options to pass to the socket.io instance ([available options](https://github.com/socketio/engine.io#methods-1)) |
93
94
94
95
### Running with SSL
95
96
@@ -246,7 +247,7 @@ add a script tag to your html like so:
246
247
247
248
```
248
249
249
-
_Note: When using the socket.io client library from your running server, remember to check that the `io` global variable is defined before subscribing to events._
250
+
_Note: When using the socket.io client library from your running server, remember to check that the `io` global variable is defined before subscribing to events._
250
251
251
252
#### Better performance with [µWebSockets](https://github.com/uWebSockets/uWebSockets)
252
253
For extra performance, you can use the faster `uws` engine instead of `ws`, by setting the `wsEngine` option for Socket.IO in `laravel-echo-server.json`:
0 commit comments