-
is this compatible with actix-web? |
Beta Was this translation helpful? Give feedback.
Answered by
niklasad1
Sep 28, 2023
Replies: 1 comment 1 reply
-
Hey, Currently, it isn't compatible with actix-web or any other web framework. I haven't used myself that much but if it would be possible to inject the RpcModule in a actix-handler/route and just call into that RpcModule that should work without using the default HTTP/WS server in jsonrpsee. I guess it makes sense to keep everything on a single socket if actix-web is already in your project. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Cariaga
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
Currently, it isn't compatible with actix-web or any other web framework.
I haven't used myself that much but if it would be possible to inject the RpcModule in a actix-handler/route and just call into that RpcModule that should work without using the default HTTP/WS server in jsonrpsee.
I guess it makes sense to keep everything on a single socket if actix-web is already in your project.