Libraryless. Click here for Pure Java version (4859L/35K).
1 | static S serveHttp_clientIP() { |
2 | NanoHTTPD.IHTTPSession session = NanoHTTPD.currentSession!; |
3 | if (session == null) null; |
4 | ret getClientIPFromHeaders(session.getHeaders()); |
5 | } |
Began life as a copy of #1013095
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028248 |
Snippet name: | serveHttp_clientIP |
Eternal ID of this version: | #1028248/1 |
Text MD5: | 8e105f6a73e0c80814ef13852ed5ed54 |
Transpilation MD5: | ee7af6650b4182450b9c0072f5e47011 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-28 02:54:34 |
Source code size: | 181 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 233 / 335 |
Referenced in: | [show references] |