-
|
Is there a way to switch the client into an offline mode? I'd like to be able to test functionality switching from offline to online, etc. while not having to manually disconnect hardware. TIA! |
Beta Was this translation helpful? Give feedback.
Answered by
appy-one
Jun 7, 2022
Replies: 1 comment
-
|
Yes, you can by calling |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
donl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can by calling
client.disconnect()andclient.connect(). If you want to disable automatically connecting upon startup, addautoConnect: falseto your client config