We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to be able to retrieve the server's certificate from an https websocket. Right now, this is possible with something like:
async with aiohttp.ws_connect(url) as ws: cert = ws._conn.writer.get_extra_info('peercert')
Is there a way to do this that is future proof? or can the API be extended to expose the websocket's transport?
Thanks!
The text was updated successfully, but these errors were encountered:
makes sense. I added get_extra_info to ClientWebSocketResponse in master I do not think we should allow access to transport object.
get_extra_info
ClientWebSocketResponse
Sorry, something went wrong.
Awesome, much appreciated!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that new issue.
No branches or pull requests
I'd like to be able to retrieve the server's certificate from an https websocket. Right now, this is possible with something like:
Is there a way to do this that is future proof? or can the API be extended to expose the websocket's transport?
Thanks!
The text was updated successfully, but these errors were encountered: