refactor: Add handy WebsocketExtensions

* IsSocketStateOpen
* IsClosedProperly
This commit is contained in:
John Colvin committed 2025-11-03 16:13:17 -05:00
1 parent de7c94014e
commit 003b0a3fa0
7 files changed
+65 -19

No files matched your search

@@ -41,6 +41,14 @@ namespace BCG {
#endregion
public PubSubRoute Clone() =>
new() {
server_address = server_address,
tag_reg_exp = tag_reg_exp,
name = name,
};
public override bool Equals(object obj) {
if (!(obj is PubSubRoute) || obj == null)
return false;