jsonrpclib icon indicating copy to clipboard operation
jsonrpclib copied to clipboard

Asynchronous JSON-RPC Server

Open Noor-Kalibbala opened this issue 5 years ago • 6 comments

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

Noor-Kalibbala avatar Oct 15 '20 08:10 Noor-Kalibbala

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.

tcalmant avatar Oct 15 '20 08:10 tcalmant

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

Noor-Kalibbala avatar Oct 15 '20 08:10 Noor-Kalibbala

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

Noor-Kalibbala avatar Oct 15 '20 11:10 Noor-Kalibbala

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

tcalmant avatar Oct 15 '20 11:10 tcalmant

@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 avatar Oct 15 '20 12:10 Noor-Kalibbala

@tcalmant i fixed it

Noor-Kalibbala avatar Oct 15 '20 12:10 Noor-Kalibbala