mosquito / aiohttp-xmlrpc

XMLRPC for aiohttp
MIT License
34 stars 19 forks source link

Update client.py to allow ssl context to be passed in #22

Open bfsheng opened 5 years ago

bfsheng commented 5 years ago

so that it works with https

mosquito commented 5 years ago

You might pass ssl_context argument to to the __init__'s **kwargs. This will be passed to the aiohttp.Session.

bfsheng commented 5 years ago

Hi mosquitor, it seems that it needs to be added to post() in __remote_call(). Parameters added to **kwargs will only be part of the data in the xmlrpc request. regards, bob

graingert commented 4 years ago

Hi mosquitor, it seems that it needs to be added to post() in __remote_call(). Parameters added to **kwargs will only be part of the data in the xmlrpc request. regards, bob

@bfsheng @mosquito you can apply ssl kwargs globally with ServerProxy(connector=TCPConnector(ssl=...))