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

6
LINES

< > BotCompany Repo | #1009553 // serveHttpAndOpenChrome - synonym of serveHttpOpenBrowser

JavaX fragment (include)

static S serveHttpAndOpenChrome(int... preferredPorts) {
  int port = serveHttp_preferredPorts(preferredPorts); // find a free port
  S url = print("http://localhost:" + port);
  openChrome(url);
  ret url;
}

Author comment

Began life as a copy of #1009209

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: #1009553
Snippet name: serveHttpAndOpenChrome - synonym of serveHttpOpenBrowser
Eternal ID of this version: #1009553/3
Text MD5: b9e985bd9c1752a5ee246f588825a3c5
Author: stefan
Category: javax / desktop / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-24 01:57:58
Source code size: 213 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 513 / 548
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)