Skip to content

Commit 5685c3a

Browse files
authored
add EzySocketProxy disconnect method (#39)
1 parent 33a2a06 commit 5685c3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

support/EzySocketProxy.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ public void udpSend(EzyCommand cmd, EzyArray data, bool encrypted = false)
226226
client.udpSend(cmd, binding.marshall<EzyArray>(data), encrypted);
227227
}
228228

229+
public void disconnect()
230+
{
231+
client.disconnect();
232+
}
233+
229234
public Object onLoginSuccess<T>(EzySocketProxyDataHandler<T> handler)
230235
{
231236
DataHandler dataHandler = data =>

0 commit comments

Comments
 (0)