static WebSocketFactory webSocketFactory(fO factory) { if (factory instanceof WebSocketFactory) ret factory/WebSocketFactory; if (factory == null) null; ret new WebSocketFactory { public WebSocket openWebSocket(NanoHTTPD.IHTTPSession handshake) { ret (WebSocket) callF(factory, 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: | #1009202 |
Snippet name: | webSocketFactory - turn function into WebSocketFactory |
Eternal ID of this version: | #1009202/2 |
Text MD5: | 4239b000364f3da861ffa18cc5ca5b90 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-20 18:35:57 |
Source code size: | 326 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 525 / 554 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |