Skip to content

Add headers to ClientSession.ws_connect. #785

@Rapptz

Description

@Rapptz

The documentation says bare aiohttp.ws_connect is deprecated and ClientSession.ws_connect should be used instead.

However, the latter has less features than the former. ClientSession.ws_connect does not have the headers keyword argument to allow us to add any headers we want while aiohttp.ws_connect does.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions