use server get cookie

hi I'm currently migrating a project from [email protected] to @solidjs/[email protected] which means I'm converting server$() functions into async "use server" functions. I used to use server$.request.headers.get("cookie") to get cookies. just wondering what the modern equivalent of that is. thanks.
2 Replies
lxsmnsyc
lxsmnsyc•12mo ago
getRequestEvent
Samual 🦢
Samual 🦢OP•12mo ago
thank you
Want results from more Discord servers?
Add your server