MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / close

Method close

CodenameOne/src/com/codename1/io/WebSocket.java:262–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260
261 /// Close the connection. Idempotent.
262 public void close() {
263 impl.close();
264 }
265
266 /// Send a text frame. Throws `IllegalStateException` if the connection
267 /// is not [WebSocketState#OPEN].

Callers 4

cancelMethod · 0.95
onMessageMethod · 0.95
startMethod · 0.95

Calls 1

closeMethod · 0.65

Tested by 2

startMethod · 0.76