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
d62e9a81b0
commit
ac27b9bc2b
@@ -255,7 +255,7 @@ remedy the issues:
|
||||
1) Change over the constructor of `connectUserWithProvider()` to the new format.
|
||||
|
||||
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 of disconnection.
|
||||
|
||||
* `client.closeConnection()` -> for closing user websocket connection.
|
||||
* `client.disconnectUser()` -> for disconnecting user and resetting client state.
|
||||
|
||||
Reference in New Issue
Block a user