Stone.js API
    Preparing search index...
    • Resolve the client source IP: requestContext.sourceIp, then the first X-Forwarded-For hop.

      Parameters

      • event: TencentScfHttpEvent

        The raw SCF event.

      • headers: Record<string, string>

        The normalized headers.

      Returns string

      The source IP (empty string if unknown).