diff --git a/src/main/java/de/backendstack21/realtime/pubsub/RealtimeClient.java b/src/main/java/de/backendstack21/realtime/pubsub/RealtimeClient.java index 4c395f4..5e40864 100644 --- a/src/main/java/de/backendstack21/realtime/pubsub/RealtimeClient.java +++ b/src/main/java/de/backendstack21/realtime/pubsub/RealtimeClient.java @@ -53,7 +53,7 @@ * *
{@code - * RealtimeClientConfig config = new RealtimeClientConfig(() -> "ws://example.com/realtime"); + * RealtimeClientConfig config = new RealtimeClientConfig(() -> String.format("wss://genesis.r7.21no.de/apps/%s?access_token=%s", appId, accessToken)); * RealtimeClient client = new RealtimeClient(config); * * // Connect and listen for session started events