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

6
LINES

< > BotCompany Repo | #1013831 // subBot_httpd

JavaX fragment (include)

static O subBot_httpd() {
  O httpd = getThreadLocal((ThreadLocal) getOpt(mainBot(), "MyHTTPD_current"));
  if (httpd == null)
    httpd = getThreadLocal((ThreadLocal) getOpt(mainBot(), "WebSocketHTTPD_current"));
  ret httpd;
}

Author comment

Began life as a copy of #1013359

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: #1013831
Snippet name: subBot_httpd
Eternal ID of this version: #1013831/1
Text MD5: efdda6f390cc7e27131adc7897a764bf
Author: stefan
Category: javax / http
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-04 18:02:14
Source code size: 233 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 422
Referenced in: [show references]