jsonrpcserver icon indicating copy to clipboard operation
jsonrpcserver copied to clipboard

Process incoming JSON-RPC requests in Python

Results 21 jsonrpcserver issues
Sort by recently updated
recently updated
newest added

Hello, I'm getting problems on `jsonrpcserver` imports on Python 3.12: ``` from jsonrpcserver import dispatch /opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/jsonrpcserver/__init__.py:19: in from .async_main import ( /opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/jsonrpcserver/async_main.py:5: in from .async_dispatcher import dispatch_to_response_pure /opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/jsonrpcserver/async_dispatcher.py:9: in from...

While in the process of preparing RPC examples for a course in distributed systems, these examples resulted. You are welcome to use them. Your comments are welcome. Will adjust as...

The `serve` function should only be used for testing. To make that clear, add a message such as: > WARNING: This is a development server. Do not use it in...

- Define types outside of the functions - Use typeddict

If your application is packaged with PyInstaller and the --noconsole option is set, JsonRpcServer will not process the request, but will simply return a completely empty response. If you do...

The server only shuts down when exiting with ctrl-c (keyboard interrupt). Add a try block to always shut down the server when exiting other ways. e.g sys.exit

Hi Is there a way to allow secure connection (HTTPS) in serve() using own certs? Or do we have to use other libraries like http.server?

There should be no need to return a “Success” result from methods. This can be handled in the @method decorator implementation.