Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
cancel
Method · 0.95
onMessage
Method · 0.95
start
Method · 0.95
sendAndCloseDelegateToImpl
Method · 0.95
Calls
1
close
Method · 0.65
Tested by
2
start
Method · 0.76
sendAndCloseDelegateToImpl
Method · 0.76