next-rest-framework icon indicating copy to clipboard operation
next-rest-framework copied to clipboard

How are RPC calls different than server functions?

Open antspy opened this issue 5 months ago • 0 comments

Hi,

I have been looking at this framework, specifically implementing the rpc-style setup.

It just dawned on my that you need to use POST for these rpc requests. But then why not use server functions? The drawback of server functions is that they do not support GET (so there's no caching, etc.), so I thought this library would be a nice alternative, but not if it uses post.

Am I missing something?

Thank you for your time!

antspy avatar Jul 26 '25 08:07 antspy