jsonrpc.py 文件源码

python
阅读 38 收藏 0 点赞 0 评论 0

项目:p2pool-cann 作者: ilsawa 项目源码 文件源码
def __init__(self):
        #basic.LineOnlyReceiver.__init__(self)
        self._matcher = deferral.GenericDeferrer(max_id=2**30, func=lambda id, method, params: self.sendLine(json.dumps({
            'jsonrpc': '2.0',
            'method': method,
            'params': params,
            'id': id,
        })))
        self.other = Proxy(self._matcher)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号