We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8968f09 commit 9152f20Copy full SHA for 9152f20
src/asciidoc/web-websocket.adoc
@@ -932,7 +932,7 @@ The example below shows how to create a SockJS client and connect to a SockJS en
932
[subs="verbatim,quotes"]
933
----
934
List<Transport> transports = new ArrayList<>(2);
935
- transports.add(new WebSocketTransport(StandardWebSocketClient()));
+ transports.add(new WebSocketTransport(new StandardWebSocketClient()));
936
transports.add(new RestTemplateXhrTransport());
937
938
SockJsClient sockJsClient = new SockJsClient(transports);
0 commit comments