Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyqs authored Aug 24, 2018
1 parent 090e6f4 commit 30ee515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ ssl_ctx = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
ssl_ctx.load_verify_locations('ca.pem')
ssl_ctx.load_cert_chain(certfile='client-cert.pem',
keyfile='client-key.pem')
yield from nc.connect(loop=loop, tls=ssl_ctx)
await nc.connect(loop=loop, tls=ssl_ctx)
```

## License
Expand Down

0 comments on commit 30ee515

Please sign in to comment.