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

11
LINES

< > BotCompany Repo | #1023718 // Web Server For Testing HTML Queries

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (3960L/25K).

!7

cmodule TestWebServer > DynPrintLog {
  switchable int httpPort = 8085;
  
  start-thread {
    dm_serveHttpFromFunction(httpPort, func(S uri, SS params) {
      ret htmlEncode2(print(struct(params)));
    });
  }
}

Author comment

Began life as a copy of #1023373

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023718
Snippet name: Web Server For Testing HTML Queries
Eternal ID of this version: #1023718/1
Text MD5: 4bc525f5923c6a81284b7c90534d08df
Transpilation MD5: 29f152ec48671546eeea0899f7357c7a
Author: stefan
Category: javax / automation
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-04 12:40:53
Source code size: 229 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 332
Referenced in: #1025642 - C8 Web Server