Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/routes/docs/apis/realtime/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ let subscription = realtime.subscribe(channels: ["files"]) { response in
}
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -159,7 +159,7 @@ let subscription = realtime.subscribe(channel: "account", callback: { response i
})
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -230,7 +230,7 @@ realtime.subscribe(channels: ["databases.A.collections.A.documents.A", "files"])
}
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -303,7 +303,7 @@ let subscription = realtime.subscribe(channel: "files") { response in
subscription.close()
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -490,7 +490,7 @@ let client = Client()
client.setEndpointRealtime("wss://cloud.appwrite.io/v1/realtime")
```

```java
```kotlin
import io.appwrite.Client

val client = Client(context)
Expand Down