跳转到内容
简体中文

readCsrfToken

此内容尚不支持你的语言。

readCsrfToken(request, options?): string | null

Defined in: src/http/middleware/Csrf.ts:109

Read the CSRF token an SSR handler should template into its form/meta — the forwarded request header first (present from the very first GET), then the cookie.

HttpRequest

string

string

string | null