Package org.eclipse.jetty.websocket.client

Jetty WebSocket Client API

The core class is WebSocketClient, which acts as a central configuration object (for example for WebSocketClient.setConnectTimeout(long), WebSocketClient.setCookieStore(, etc.) and as a factory for WebSocket Session objects.

The WebSocket protocol is based on a framing protocol built around an upgraded HTTP connection. It is primarily focused on the sending of messages (text or binary), with an occasional control frame (close, ping, pong) that this implementation uses.

WebSocketClient holds a number of Session, which in turn is used to manage physical vs virtual connection handling (mux extension).