tcalmant / jsonrpclib

A Python (2 & 3) JSON-RPC over HTTP that mirrors the syntax of xmlrpclib (aka jsonrpclib-pelix)
https://jsonrpclib-pelix.readthedocs.io/
Apache License 2.0
54 stars 24 forks source link

Asynchronous JSON-RPC Server #45

Open Noor-Kalibbala opened 4 years ago

Noor-Kalibbala commented 4 years ago

when u read documenetation u talk about Asynchronous JSON-RPC Server but its not included in actual code

tcalmant commented 4 years ago

Hi, It's in the protocol_extract branch, not in master (and not released).

The documentation of this branch is here, but it's "work in progress" I didn't work on for a while.

Noor-Kalibbala commented 4 years ago

@tcalmant thank u for your response , i think let me just clone this project https://github.com/tcalmant/jsonrpclib/tree/protocol_extract

Noor-Kalibbala commented 4 years ago

@tcalmant sorry for disturbing u, when u install using pip the protocol_extract branch impl folder is not included in local files

tcalmant commented 4 years ago

Indeed, it is not mature enough to go in the master branch, which is what you install using pip install jsonrpclib-pelix.

You should try pip install "git+https://github.com/tcalmant/jsonrpclib.git@protocol_extract" instead

Noor-Kalibbala commented 4 years ago

@tcalmant i tried to this from jsonrpclib.impl.aiohttp_impl import AiohttpRequestHandler, AiohttpJsonRpcServer but i got this error AttributeError: module 'jsonrpclib' has no attribute 'config'

Noor-Kalibbala commented 4 years ago

@tcalmant i fixed it