Refactoring in reactive WebSocketMessage
Move WebSocketMessage factory methods to the WebSocketSession which has the bufferFactory() needed to create message payloads. WebSocketMessage is left with one public constructor. WebSocketMessage exposes convenience retain/releasePayload methods.
Showing
想要评论请 注册 或 登录