Module bus.http

Class WebSocketWriter

java.lang.Object
org.miaixz.bus.http.socket.WebSocketWriter

public class WebSocketWriter extends Object
A writer for WebSocket protocol frames. This class writes frames to a sink according to RFC 6455, supporting control frames (ping, pong, close) and message frames. This class is not thread-safe and must be operated from a single thread.
Since:
Java 17+
Author:
Kimi Liu