public interface WebSocketClient<T extends javax.websocket.MessageHandler>
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(WebSocketClientConfiguration config) |
boolean |
isActive() |
void |
sendTextWithHandler(String content,
Consumer<T> handler) |
void init(WebSocketClientConfiguration config)
void close()
void sendTextWithHandler(String content, Consumer<T> handler) throws IOException
IOExceptionboolean isActive()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.