public final class WebSocketClient extends Object
In order to run this example you need a compatible WebSocket server.
Therefore you can either start the WebSocket server from the examples
by running WebSocketServer
or connect to an existing WebSocket server such as
ws://echo.websocket.org.
The client will attempt to connect to the URI passed to it as the first argument. You don't have to specify any arguments if you want to connect to the example WebSocket server, as this is the default.
Constructor and Description |
---|
WebSocketClient() |
Copyright © 2008–2016 The Netty Project. All rights reserved.