// returns URL static S serveHttpOpenBrowser(int... preferredPorts) { int port = serveHttp_preferredPorts(preferredPorts); // find a free port S url = print("http://localhost:" + port); openPlatformBrowser(url); ret url; }
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: | #1008418 |
Snippet name: | serveHttpOpenBrowser |
Eternal ID of this version: | #1008418/2 |
Text MD5: | d0a7a10bc7391f6b0d25a85e815596ee |
Author: | stefan |
Category: | javax / desktop / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-15 14:33:36 |
Source code size: | 236 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 561 / 581 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009209 - serveHttpAndOpenBrowser - synonym of serveHttpOpenBrowser |