useServerContext() returns empty object in server$() callback

how come useServerContext() returns an empty object in server$() callbacks?
4 Replies
Samual 🦢
Samual 🦢OP•2y ago
useRequest() does the same
lxsmnsyc
lxsmnsyc•2y ago
both are only accessible in components, server$ is isolated, but I would assume what you need can be accessed through the callback's second parameter
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Samual 🦢
Samual 🦢OP•2y ago
ty, is there a way to get responseHeaders as well?
Want results from more Discord servers?
Add your server