fermyon / leptos-spin

Integration library for running server-side Leptos apps on Spin
31 stars 6 forks source link

Add runtime creation to handle_server_fns() and add request/response processing #14

Closed benwis closed 8 months ago

benwis commented 8 months ago

The handle_server_fns() method doesn't create a Runtime, which works, but means people won't be able to use the context to get the incoming request or pass ResponseOptions to change the returned status code or headers.

I'm happy to do this work, just want to lay out the issues here

itowlson commented 8 months ago

Thanks. If you don't mind doing it, I think it would be useful for me to see what a knowledgeable person does; otherwise, I can have a crack at it and learn by being reviewed!

benwis commented 8 months ago

@itowlson I'm closing this as well since it's mostly done