建议 CloseAsync(CloseReason closeReason) 不用枚举做参数,使用int类型,方便使用时扩展
Opened this issue · 1 comments
liuguiyou commented
如题
kerryjiang commented
You are right. Although rfc6455 has some defined close reason codes, but we should be able to use other close code than the predefined codes.