You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -90,11 +92,11 @@ client.addHeader("X-MYAPI-POLLER", "Polled By SD.io")
90
92
<3> This allows you let streamdata send snapshots only (set `false` to do so) or snapshot then patch (default behaviour if you don't call this method) [_Optional_ ]
91
93
<4> A callback that will consume the snapshot
92
94
<5> A callback that will consume the patch (you can access the snaphost anyways) [_Optional_ ]
93
-
<6> Call when successfully open the connection [_Optional_ ]
94
-
<7> Call the connection is actually closed [_Optional_ ]
95
-
<6> Call when the stream return an error, by default the error is logged usually it is recommended to close the connection: ```client.close()``` [_Optional_ ]
96
-
<7> Call when an error occurs, mainly when opening the event source, by default the error is recommended to close the connection: ```client.close()``` [_Optional_ ]
97
-
<10> Open the connection with the server
95
+
<6> Called when successfully open the connection [_Optional_ ]
96
+
<7> Called the connection is actually closed [_Optional_ ]
97
+
<6> Called when the stream return an error, by default the error is logged. Usually it is recommended to close the connection: ```client.close()``` [_Optional_ ]
98
+
<7> Call when an error occurs, mainly when opening the event source, by default the error is logged but it is recommended to close the connection: ```client.close()``` [_Optional_ ]
99
+
<10> Open the connection with the server and start streamdata.
0 commit comments