aiohttp-json-rpc icon indicating copy to clipboard operation
aiohttp-json-rpc copied to clipboard

Implements JSON-RPC 2.0 using aiohttp

Results 10 aiohttp-json-rpc issues
Sort by recently updated
recently updated
newest added
trafficstars

This lets users pass in callables that don't have a `__name__` (like instances of `functools.partial`).

wontfix

the snippet below ```python async def _ws_send_str(self, client, string): if client.ws._writer.transport.is_closing(): self.clients.remove(client) await client.ws.close() ``` cause the error below self.clients.remove(client) ValueError: list.remove(x): x not in list

Incase the user have big json data, the future will just through timeout error instead Of informing that user that actually the message size is exceeded, it would be Nice...

feature request

``` http_1 | Error handling request http_1 | invalid state http_1 | Traceback (most recent call last): http_1 | File "/usr/local/lib/python3.8/site-packages/aiohttp_json_rpc/client.py", line 100, in _handle_msgs http_1 | self._pending[msg.data['id']].set_result( http_1 |...

bug

Hi. I am looking for a library to implement json-rpc api with aiohttp. This one looks nice but I need POST requests. Are you going to implement them in the...

feature request

JSON-RPC 2.0 spec: > 6 Batch > To send several Request objects at the same time, the Client MAY send an Array filled with Request objects. This currently (aiohttp-json-rpc 0.12.1)...

feature request

currently lib takes no actual care and does not really "knows" whatever connection is alive, also it has very poor interface to inform user of such problem. handling connection recovery...

feature request

May I know where the 'send_notification' method is defined in rpc.py line 256? ``` request.ws.send_notification(topic, self.state[topic]) ``` Thank you!

feature request

@fscherf hi, there's a few improvements to make, CI-wise: 1) Run tests against `master` on daily basis 2) Migrate integration into new platform travis-ci.com