Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
This commit is contained in:
co-authored by
Reuben Turner
parent
8edf68b3b9
commit
d62e9a81b0
@@ -254,7 +254,7 @@ remedy the issues:
|
|||||||
|
|
||||||
1) Change over the constructor of `connectUserWithProvider()` to the new format.
|
1) Change over the constructor of `connectUserWithProvider()` to the new format.
|
||||||
|
|
||||||
2) We added more nuance to the `disconnectUser()` by adding two new methods - one to close the connection
|
2) We added more nuance to `disconnectUser()` by adding two new methods - one to close the connection
|
||||||
and the other to disconnect the user. This allows more fine-grained control for diconnection.
|
and the other to disconnect the user. This allows more fine-grained control for diconnection.
|
||||||
|
|
||||||
* `client.closeConnection()` -> for closing user websocket connection.
|
* `client.closeConnection()` -> for closing user websocket connection.
|
||||||
|
|||||||
Reference in New Issue
Block a user