Libraryless. Click here for Pure Java version (3071L/23K/61K).
1 | !752 |
2 | |
3 | p { |
4 | serveHttp(7777); |
5 | } |
6 | |
7 | static NanoHTTPD.Response serve(S uri, NanoHTTPD.Method method, |
8 | Map<S,S> header, Map<S,S> parms, Map<S,S> files) { |
9 | print("Serving HTML."); |
10 | ret serveHTML("Hello world (as usual...)"); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001649 |
Snippet name: | Test serveHttp |
Eternal ID of this version: | #1001649/1 |
Text MD5: | 4ce2d04479f52c1586f2caa7395945f7 |
Transpilation MD5: | b8521eae86ff1ae04080393e3c3a0251 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-06 13:48:27 |
Source code size: | 234 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 679 / 1141 |
Referenced in: | [show references] |