网页 综合 更新时间 2026-06-09 00:00:00

headers

自动蜘蛛 nextjs.org 正文约 320 字
headers
headers is an async function that allows you to read the HTTP incoming request headers from a Server Component.
headers does not take any parameters.
headers returns a read-only Web Headers object.
Last updated June 9, 2026
Subscribe to our newsletter
Stay updated on new releases and features, guides, and case studies.
访问原文 返回搜索 https://nextjs.org/docs/app/api-reference/functions/headers
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。