Libraryless. Click here for Pure Java version (2512L/19K/50K).
1 | !747 |
2 | |
3 | m {
|
4 | p {
|
5 | serveHttp(7777); |
6 | } |
7 | |
8 | static NanoHTTPD.Response serve(S uri, NanoHTTPD.Method method, |
9 | Map<S,S> header, Map<S,S> parms, Map<S,S> files) {
|
10 | print("Header: " + structure(header));
|
11 | print("URI: " + uri);
|
12 | print("Parms: " + structure(parms));
|
13 | print("Files: " + structure(files));
|
14 | ret serveHTML("implementing...");
|
15 | } |
16 | } |
Began life as a copy of #1001649
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #755 |
| Snippet name: | HTTP Proxy (developing) |
| Eternal ID of this version: | #755/1 |
| Text MD5: | ce220d214372f07a5406dcc959169752 |
| Transpilation MD5: | 02927b1dce21557743b1d0de50cc98f7 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-11-28 19:09:49 |
| Source code size: | 374 bytes / 16 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 932 / 1035 |
| Referenced in: | [show references] |