Prim+RPC supports Hono and is very easy to set up. First, let’s set up our functions to be used on the server:
We can expose these functions to the client by setting up Hono and Prim+RPC:
This example shows how Hono may be used from a serverless environment but you may reference Hono’s documentation to learn how to set it up in frameworks like Node and others.
We can test that this example is working by making a call over the command line (note that your server address will need to be changed):
You may also choose a compatible method plugin:Report an Issue
No sections available.