Skip to content

Commit e810a2a

Browse files
committed
override the default CloseAsync method from websocket session
1 parent e98b790 commit e810a2a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/SuperSocket.WebSocket.Server/WebSocketSession.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,10 @@ public override async ValueTask CloseAsync(ChannelCloseReason closeReason)
130130

131131
}
132132
}
133+
134+
public override async ValueTask CloseAsync()
135+
{
136+
await this.CloseAsync(CloseReason.NormalClosure);
137+
}
133138
}
134139
}

0 commit comments

Comments
 (0)