Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1015081 // Eleu Live Log [Swing], dropping the weird WebSocket \0 bytes [OK]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3988K of libraries. Click here for Pure Java version (7332L/49K/178K).

!7

p-experiment-tt {
  webSocketOnMessage("ws://butter.botcompany.de:8080/1014677", voidfunc(S s) {
    if (eq(s, "clear")) clearConsole(); else print_noNewLine(dropFirst(s));
  });
}

Author comment

Began life as a copy of #1015080

See: https://github.com/TooTallNate/Java-WebSocket/issues/705

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015081
Snippet name: Eleu Live Log [Swing], dropping the weird WebSocket \0 bytes [OK]
Eternal ID of this version: #1015081/5
Text MD5: 72116b3cc47a4d892804907001583e85
Transpilation MD5: 7d09e2c029a1efcc01469d73eb199bd6
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 23:56:46
Source code size: 190 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 462 / 593
Version history: 4 change(s)
Referenced in: #1015083 - webSocketOnMessage - open a WebSocket and react to messages. Closed on program exit. Does not block
#1015686 - Mech Changes Listen Client [OK]