1 | static S serveHttp_domainName() { |
2 | NanoHTTPD.IHTTPSession session = NanoHTTPD.currentSession!; |
3 | if (session == null) null; |
4 | ret session.getHeaders().get("host"); |
5 | } |
Began life as a copy of #1012613
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: | #1013095 |
Snippet name: | serveHttp_domainName |
Eternal ID of this version: | #1013095/1 |
Text MD5: | 92bcdc679c3d3c6a3e2b39a4314cfc57 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-25 06:08:38 |
Source code size: | 171 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 428 / 451 |
Referenced in: | [show references] |