Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/thinkjs/thinkjs
/ ip
Function
ip
lib/extend/controller.js:23–25 ·
view source on GitHub ↗
* get client ip
()
Source
from the content-addressed store, hash-verified
21
* get client ip
22
*/
23
get ip() {
24
return
this.ctx.ip;
25
},
26
/**
27
* get client ips
28
*/
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected