HttpProtect.getClientIp property
Resolves the client IP for a request — request-ip's getClientIp unless HttpProtectOptions.getClientIp replaced it.
Signature:
readonly getClientIp: (req: Request) => string | null;
Remarks
Everything this class stores is keyed by what this returns, so it is the single point that decides whose budget a request spends.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.