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(java.net.CookieStore), 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).

Skip navigation links

Copyright © 1995–2018 Webtide. All rights reserved.