From 6c295a9822b76b91c9af2f8b246e19bd0d1ca02c Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Mon, 5 Jun 2023 17:55:17 +0000 Subject: [PATCH] Mention wildcards under channel --- app/views/docs/realtime.phtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/docs/realtime.phtml b/app/views/docs/realtime.phtml index 4cabe576f..be6a62fba 100644 --- a/app/views/docs/realtime.phtml +++ b/app/views/docs/realtime.phtml @@ -493,7 +493,9 @@ subscription.close()

Channels

-

A list of all channels available you can subscribe to:

+

+ You can subscribe to changes in a specific area of Appwrite by subscribing to channels. You can subscribe to specific resources by replacing [ID] with the desired resource's ID or subscribe to all resources of the same type with the wildcard character *. +

@@ -514,9 +516,9 @@ subscription.close()

Custom Endpoint

-

The SDK will guess the endpoint of the Realtime API when setting the endpoint of your Appwrite instance. If you are running Appwrite with a custom proxy and changed the route of the Realtime API, you can call the setEndpointRealtime method on the Client SDK and set your new endpoint value.

+

The SDK will guess the endpoint of the Realtime API when setting the endpoint of your Appwrite instance. If you are running Appwrite with a custom proxy and changed the route of the Realtime API, you can call the setEndpointRealtime method on the Client SDK and set your new endpoint value.

-

By default the endpoint is wss://cloud.appwrite.io/v1/realtime.

+

By default the endpoint is wss://cloud.appwrite.io/v1/realtime.