use server get cookie

hi I'm currently migrating a project from solid-start@0.3.10 to @solidjs/start@0.4.5 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•2y ago
getRequestEvent
Samual 🦢
Samual 🦢OP•2y ago
thank you

Did you find this page helpful?