1 | static S serveHttp_userAgent() { |
2 | NanoHTTPD.IHTTPSession session = NanoHTTPD.currentSession!; |
3 | if (session == null) null; |
4 | ret session.getHeaders().get("user-agent"); |
5 | } |
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: | #1012613 |
Snippet name: | serveHttp_userAgent |
Eternal ID of this version: | #1012613/1 |
Text MD5: | 5ab3816cff10ae677ef48c77b2a9a509 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-08 00:08:31 |
Source code size: | 176 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 435 |
Referenced in: | [show references] |