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

9
LINES

< > BotCompany Repo | #1013358 // Test subBot_getHeaders + find out current port

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

Download Jar. Libraryless. Click here for Pure Java version (2475L/16K).

!7

html {
  O httpd = subBot_httpd();
  bool https = subBot_isHttps_defaultToTrue();
  Int port = cast getOpt(httpd, 'myPort);
  ret "https=" + https + ", httpd=" + httpd + ", port=" + port + "<br>" + htmlencode(sfu(subBot_getHeaders()))
    + ", params= " + htmlencode(sfu(params));
}

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: #1013358
Snippet name: Test subBot_getHeaders + find out current port
Eternal ID of this version: #1013358/13
Text MD5: f86977ef5353ecac7d561c1560929b96
Transpilation MD5: 82c8918bd2211d986228421026b48533
Author: stefan
Category: javax / http
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-04 18:15:58
Source code size: 294 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 432 / 1388
Version history: 12 change(s)
Referenced in: [show references]