refactor: Add handy WebsocketExtensions
* IsSocketStateOpen * IsClosedProperly
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user