Libraryless. Click here for Pure Java version (5405L/39K/121K).
!7 p { serveHttp(6688); autoRestart(); } static NanoHTTPD.Response serve(S uri, NanoHTTPD.Method method, Map<S,S> header, Map<S,S> parms, Map<S,S> files) { print("Serving HTML."); ret serveHTML( htitle("Yo yo yo") + "Find me at " + ahref("http://home.botcompany.de", "home.botcompany.de") + "!"); }
Began life as a copy of #1001649
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: | #1010769 |
Snippet name: | Home Server (port 6688) |
Eternal ID of this version: | #1010769/4 |
Text MD5: | fc8cdd53d48c29cb567baf83760ec11a |
Transpilation MD5: | c587db5f2bcaaccf59a076f821c18014 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-01 21:58:53 |
Source code size: | 335 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 489 / 7351 |
Version history: | 3 change(s) |
Referenced in: | [show references] |