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

5
LINES

< > BotCompany Repo | #1014670 // subBot_myWebSocketURI

JavaX fragment (include)

static S subBot_myWebSocketURI() {
  int port = subBot_currentPort();
  ret (subBot_isHttps() ? "wss://" : "ws://") + domain() 
    + (port == 80 ? "" : ":" + port) + "/" + parsedProgramID();
}

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: #1014670
Snippet name: subBot_myWebSocketURI
Eternal ID of this version: #1014670/2
Text MD5: 359a1300210374615c7263d95c5c9a49
Author: stefan
Category: javax / web
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-29 18:37:07
Source code size: 197 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 322 / 346
Version history: 1 change(s)
Referenced in: [show references]