The Prim+RPC server can be configured with Fastify. First, create some module to be shared with server
Below is a simple example of how to use this module with Fastify:
This configuration does not yet support Files and Blobs but we can do so by adding new Fastify plugins. First, install
both @fastify/multipart
and form-data
using your chosen package manager. Then you can configure it like
so:
Now we can test this out with a simple call from the command line:
You may also choose a compatible method plugin:
Report an Issue