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.SecurityException
public WebSocket(String url, String[] protocols, WebSocketCallback callback) throws WebSocket.SecurityException
WebSocket.SecurityException
Copyright © 2006–2018 Tigase. All rights reserved.