Skip to content

Commit 9152f20

Browse files
holubsdeleuze
authored andcommitted
Update SockJS client code snippet
1 parent 8968f09 commit 9152f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asciidoc/web-websocket.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ The example below shows how to create a SockJS client and connect to a SockJS en
932932
[subs="verbatim,quotes"]
933933
----
934934
List<Transport> transports = new ArrayList<>(2);
935-
transports.add(new WebSocketTransport(StandardWebSocketClient()));
935+
transports.add(new WebSocketTransport(new StandardWebSocketClient()));
936936
transports.add(new RestTemplateXhrTransport());
937937
938938
SockJsClient sockJsClient = new SockJsClient(transports);

0 commit comments

Comments
 (0)