Skip to content

Commit

Permalink
override the default CloseAsync method from websocket session
Browse files Browse the repository at this point in the history
kerryjiang committed May 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e98b790 commit e810a2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SuperSocket.WebSocket.Server/WebSocketSession.cs
Original file line number Diff line number Diff line change
@@ -130,5 +130,10 @@ public override async ValueTask CloseAsync(ChannelCloseReason closeReason)

}
}

public override async ValueTask CloseAsync()
{
await this.CloseAsync(CloseReason.NormalClosure);
}
}
}

0 comments on commit e810a2a

Please sign in to comment.