From 73802be5ec01c19471d826b8897f24eae5bd68d0 Mon Sep 17 00:00:00 2001 From: heartape <64122416+heartape@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:00:50 +0800 Subject: [PATCH] Adding Reminder Information to websocket doc --- .../modules/ROOT/pages/web/websocket/fallback.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/framework-docs/modules/ROOT/pages/web/websocket/fallback.adoc b/framework-docs/modules/ROOT/pages/web/websocket/fallback.adoc index f565c2250a10..75364be50b21 100644 --- a/framework-docs/modules/ROOT/pages/web/websocket/fallback.adoc +++ b/framework-docs/modules/ROOT/pages/web/websocket/fallback.adoc @@ -103,6 +103,14 @@ You can enable SockJS through Java configuration, as the following example shows } ---- +[IMPORTANT] + +==== +If SockJS is not used, please do not use `withSockJS()`, as this will cause websocket to be unable to connect. +==== + + + The following example shows the XML configuration equivalent of the preceding example: [source,xml,indent=0,subs="verbatim,quotes,attributes"]