An important thing to be aware of is when you log out or the sessionToken you are using is invalid, you should unsubscribe the subscription and subscribe to the ParseQuery again. For the advanced API, you can use any sessionToken when you subscribe to a ParseQuery. For the standard API, we use the sessionToken of the current user by default. ![]() We send sessionToken to the LiveQuery server when you subscribe to a ParseQuery. However, if the WebSocket connection is closed due to () or client.close(), we’ll cancel the auto reconnect. We do exponential back off under the hood. Thus, when we find we lose the connection to the LiveQuery server, we will try to auto reconnect. Since the whole LiveQuery feature relies on the WebSocket connection to the LiveQuery server, we always try to maintain an open WebSocket connection. When some network error or LiveQuery server error happens, you’ll get this event. A complex subclass of Parse.Object const Monster = Parse. Implementing Business Logic in Cloud Code.Requires Authentication permission (requires parse-server >= 2.3.0). ![]() One-to-One and One-to-Many Relationships.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |