Skip to content

Implement WebSocketResponse.get_extra_info #7078

Closed
@xdustinface

Description

Is your feature request related to a problem?

There is no way to access get_extra_info from a WebSocketResponse, like its possible in ClientWebSocketResponse, there was a related issue before this was implemented: #1717.

Describe the solution you'd like

Im thinking about just having WebSocketResponse.get_extra_info implemented like ClientWebSocketResponse.get_extra_info.

Describe alternatives you've considered

As workaround we just access the private member like in

response._writer.transport.get_extra_info("the info")

Related component

Server

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions