public class WebSocket extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocket.SecurityException |
| Constructor and Description |
|---|
WebSocket(String url,
String[] protocols,
WebSocketCallback callback) |
WebSocket(String url,
String protocol,
WebSocketCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getProtocol() |
String |
getURL() |
boolean |
isSecure() |
static boolean |
isSupported() |
void |
send(String message) |
public WebSocket(String url, String protocol, WebSocketCallback callback) throws WebSocket.SecurityException
WebSocket.SecurityExceptionpublic WebSocket(String url, String[] protocols, WebSocketCallback callback) throws WebSocket.SecurityException
WebSocket.SecurityExceptionCopyright © 2006–2020 Tigase. All rights reserved.