combine params.tls and .tls_verify, support pinned certs
This commit is contained in:
parent
0a5c774965
commit
5b347f95c9
9 changed files with 85 additions and 34 deletions
|
@ -25,7 +25,7 @@ class Bot(BaseBot):
|
|||
async def main():
|
||||
bot = Bot()
|
||||
for name, host in SERVERS:
|
||||
params = ConnectionParams("BitBotNewTest", host, 6697, True)
|
||||
params = ConnectionParams("BitBotNewTest", host, 6697)
|
||||
await bot.add_server(name, params)
|
||||
|
||||
await bot.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue