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

6
LINES

< > BotCompany Repo | #1013355 // dummyWebSocketFactory

JavaX fragment (include)

1  
static F1<NanoHTTPD.IHTTPSession, WebSocket> dummyWebSocketFactory() {
2  
  ret func(NanoHTTPD.IHTTPSession handshake) -> WebSocket {
3  
    print("New WebSocket.");
4  
    ret new WebSocket(handshake);
5  
  };
6  
}

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: 351 / 384
Version history: 3 change(s)
Referenced in: [show references]