Reference

ServerActionContext

Request context passed to authorized server actions. It exposes normalized cookies, headers, and the original `Request`. `clientIp` is reserved for trusted adapter integrations and is omitted by the default header-only dispatcher because forwarded IP headers are attacker-controlled without a trusted proxy boundary.

Signature

interface ServerActionContext

Members

clientIp?: string
cookies: RequestCookies
headers: Headers
request: Request