Skip to content

Commit 948563c

Browse files
authored
Merge pull request #10 from ParsePlatform/update-readme
Update README.md with URI expected format
2 parents 7d80195 + 7c87c72 commit 948563c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ Snapshots of the development version are available in [Sonatype's `snapshots` re
3030
## Use Client
3131

3232

33-
The LiveQuery client interface is based around the concept of `Subscription`s. You can register any `ParseQuery` for live updates from the associated live query server, by simply calling `subscribe()` on a the client:
33+
The LiveQuery client interface is based around the concept of `Subscriptions`. You can register any `ParseQuery` for live updates from the associated live query server, by simply calling `subscribe()` on a the client:
3434
```java
3535
ParseLiveQueryClient<ParseObject> parseLiveQueryClient = ParseLiveQueryClient.Factory.get(URI);
3636
SubscriptionHandling<ParseObject> subscriptionHandling = parseLiveQueryClient.subscribe(parseQuery)
3737
```
38+
Note: The exected protocol for URI is `ws` instead of `http`, like in this example: `URI("ws://192.168.0.1:1337/1")`.
3839

3940
Once you've subscribed to a query, you can `handle` events on them, like so:
4041
```java

0 commit comments

Comments
 (0)