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

7
LINES

< > BotCompany Repo | #1013833 // subBot_isHttps_defaultToTrue

JavaX fragment (include)

static bool subBot_isHttps_defaultToTrue() {
  O httpd = subBot_httpd();
  ret !(eqOneOf(httpd,
    getOpt(mainBot(), 'serveHttp_server),
    getOpt(mainBot(), 'serveHttpWithWebsockets_server))
    || contains((Collection) getOpt(mainBot(), 'serveHttpWithWebsockets_multiplePorts_servers), httpd));
}

Author comment

Began life as a copy of #1013832

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: #1013833
Snippet name: subBot_isHttps_defaultToTrue
Eternal ID of this version: #1013833/6
Text MD5: ca8ffa99ddc5fa3ce1560e386b2d9c5a
Author: stefan
Category: javax / http
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-18 03:54:45
Source code size: 306 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 474
Version history: 5 change(s)
Referenced in: [show references]