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
Copy file name to clipboardexpand all lines: docs/api/config.md
+8
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,14 @@ Allows concurrent updates to state in the same session. If this is not updated,
12
12
13
13
By default, this is not enabled. You can enable this by setting it to `true`.
14
14
15
+
### MESOP_WEB_SOCKETS_ENABLED
16
+
17
+
!!! warning "Experimental feature"
18
+
19
+
This is an experimental feature and is subject to breaking change. Please follow [https://github.com/google/mesop/issues/1028](https://github.com/google/mesop/issues/1028) for updates.
20
+
21
+
This uses WebSockets instead of HTTP Server-Sent Events (SSE) as the transport protocol for UI updates. If you set this environment variable to `true`, then [`MESOP_CONCURRENT_UPDATES_ENABLED`](#MESOP_CONCURRENT_UPDATES_ENABLED) will automatically be enabled as well.
22
+
15
23
### MESOP_STATE_SESSION_BACKEND
16
24
17
25
Sets the backend to use for caching state data server-side. This makes it so state does
0 commit comments