Buckets:
| import { cookies, headers } from 'next/headers' | |
| export default async function Layout({ children }) { | |
| const curHeaders = await headers() | |
| const curCookies = await cookies() | |
| return ( | |
| <> | |
| <p id="headers">{JSON.stringify([...curHeaders.keys()])}</p> | |
| <p id="cookies">{JSON.stringify([...curCookies.getAll()])}</p> | |
| {children} | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 362 Bytes
- Xet hash:
- bce6e58a335e0112807cc821becd41a9a53792dbfb12ae92187b5523133c9688
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.