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

14
LINES

< > BotCompany Repo | #1010065 // Ping by HTTP

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (507L/4K).

!7

p {
  pingIt("http://tinybrain.de");
  pingIt("http://google.de");
  pingIt("http://google.com");
  pingIt("http://ai1.lol");
}

svoid pingIt(S url) {
  time {
    print("Return code: " + getURLReturnCode(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: #1010065
Snippet name: Ping by HTTP
Eternal ID of this version: #1010065/1
Text MD5: 1777d12af83ef108b35043e7486bade0
Transpilation MD5: 1eb30c07b95b9d4f2b7163e87768505e
Author: stefan
Category: javax / gui / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-01 23:16:59
Source code size: 234 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 1197
Referenced in: