Skip to content

Commit

Permalink
only set udp status when using udp transport type (#36)
Browse files Browse the repository at this point in the history
* implement methods for EzyWSClient

* update exception type

* make isEnableSSL return false for EzyWSClient

* only set udp status when using udp transport type

* update setUdpStatus for EzyWSClient
  • Loading branch information
vu-luong authored Aug 6, 2023
1 parent 602c5c5 commit 5726342
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unity/EzyWSClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,11 @@ public EzyConnectionStatus getUdpStatus()
throw new InvalidOperationException("not supported");
}

/**
* This method sets UDP status, so it should do nothing for WebSocket
*/
public void setUdpStatus(EzyConnectionStatus status)
{
throw new InvalidOperationException("not supported");
}

public bool isUdpConnected()
Expand Down

0 comments on commit 5726342

Please sign in to comment.