cookies, headers and authentication
in express I can do something like
alternatively I can do
how can I do something one of the two above with trpc?
or is there another, standardized way to do auth?
I'm using trpc v10 and sveltekit
res.cookie("name", "value") for example. alternatively I can do
res.set"set-cookie", "name=value").how can I do something one of the two above with trpc?
or is there another, standardized way to do auth?
I'm using trpc v10 and sveltekit