Uses of Interface
org.miaixz.bus.http.socket.WebSocket
Packages that use WebSocket
Package
Description
An HTTP client for Java applications.
Provides the core implementation classes for the Httpv client, including task management, execution, data conversion,
and WebSocket support.
Provides the implementation of the WebSocket protocol (RFC 6455) for creating and managing WebSocket connections.
-
Uses of WebSocket in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return WebSocketModifier and TypeMethodDescriptionHttpd.newWebSocket(Request request, WebSocketListener listener) Usesrequestto connect a new web socket.Httpv.webSocket(Request request, WebSocketListener listener) Creates a new WebSocket connection using the underlyingHttpdclient. -
Uses of WebSocket in org.miaixz.bus.http.plugin.httpv
Methods in org.miaixz.bus.http.plugin.httpv with parameters of type WebSocketModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid -
Uses of WebSocket in org.miaixz.bus.http.socket
Classes in org.miaixz.bus.http.socket that implement WebSocketModifier and TypeClassDescriptionfinal classAn implementation of the WebSocket protocol (RFC 6455).Methods in org.miaixz.bus.http.socket that return WebSocketModifier and TypeMethodDescriptionWebSocket.Factory.newWebSocket(Request request, WebSocketListener listener) Creates a new web socket and immediately returns it.Methods in org.miaixz.bus.http.socket with parameters of type WebSocketModifier and TypeMethodDescriptionvoidInvoked when both peers have indicated that no more messages will be transmitted and the connection has been successfully released.voidInvoked when the remote peer has indicated that no more incoming messages will be transmitted.voidInvoked when a web socket has been closed due to an error reading from or writing to the network.voidInvoked when a text (type0x1) message has been received.voidInvoked when a binary (type0x2) message has been received.voidInvoked when a web socket has been accepted by the remote peer and may begin transmitting messages.