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

7
LINES

< > BotCompany Repo | #1013832 // subBot_isHttps

JavaX fragment (include)

static bool subBot_isHttps() {
  O httpd = subBot_httpd();
  ret eqOneOf(httpd,
    getOpt(mainBot(), 'serveHttps_server),
    getOpt(mainBot(), 'serveHttpsWithWebsockets_server))
    || contains((Collection) getOpt(mainBot(), 'serveHttpsWithWebsockets_multiplePorts_servers), httpd);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013832
Snippet name: subBot_isHttps
Eternal ID of this version: #1013832/5
Text MD5: bfe73b40f0e212a922a905bbcf736384
Author: stefan
Category: javax / http
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-02 12:50:22
Source code size: 292 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 481 / 498
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013833 - subBot_isHttps_defaultToTrue