Uses 911K of libraries. Click here for Pure Java version (3960L/25K).
1 | !7 |
2 | |
3 | cmodule TestWebServer > DynPrintLog { |
4 | switchable int httpPort = 8085; |
5 | |
6 | start-thread { |
7 | dm_serveHttpFromFunction(httpPort, func(S uri, SS params) { |
8 | ret htmlEncode2(print(struct(params))); |
9 | }); |
10 | } |
11 | } |
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: | 265 / 333 |
Referenced in: | [show references] |