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

11
LINES

< > BotCompany Repo | #1004451 // proxyBot

JavaX fragment (include)

1  
static S proxyBot(S s) ctex {
2  
  new Matches m;
3  
  
4  
  if "loadPage *"
5  
    ret "ok " + loadPage(m.unq(0));
6  
  
7  
  if "loadBinaryPage *"
8  
    ret "ok " + bytesToHex(loadBinaryPage(m.unq(0)));
9  
  
10  
  null;
11  
}

Author comment

Began life as a copy of #1004128

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004451
Snippet name: proxyBot
Eternal ID of this version: #1004451/1
Text MD5: 976aa1edb1f441ebf34b3c7beb4685eb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-17 19:35:57
Source code size: 207 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 547 / 556
Referenced in: [show references]