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 6bcf62b commit 761d972Copy full SHA for 761d972
1 file changed
src/realtime/README.md
@@ -56,8 +56,8 @@ async def main():
56
REALTIME_URL = "ws://localhost:4000/websocket"
57
API_KEY = "1234567890"
58
59
- socket = AsyncRealtimeClient(REALTIME_URL, API_KEY)
60
- channel = socket.channel("test-channel")
+ client = AsyncRealtimeClient(REALTIME_URL, API_KEY)
+ channel = client.channel("test-channel")
61
62
def _on_subscribe(status: RealtimeSubscribeStates, err: Optional[Exception]):
63
if status == RealtimeSubscribeStates.SUBSCRIBED:
0 commit comments