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

6
LINES

< > BotCompany Repo | #1013355 // dummyWebSocketFactory

JavaX fragment (include)

static F1<NanoHTTPD.IHTTPSession, WebSocket> dummyWebSocketFactory() {
  ret func(NanoHTTPD.IHTTPSession handshake) -> WebSocket {
    print("New WebSocket.");
    ret new WebSocket(handshake);
  };
}

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: #1013355
Snippet name: dummyWebSocketFactory
Eternal ID of this version: #1013355/4
Text MD5: 1161c7d7f8574e2f95faf6b0a471708d
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-03 05:25:10
Source code size: 205 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 352 / 385
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)