Skip to content

Feature: 使 websockets 支持 proxy #2908

@shoucandanghehe

Description

@shoucandanghehe

希望能解决的问题

目前 websockets 官方不支持 proxy python-websockets/websockets#364
这导致 adapter-discord 在需要 proxy 的时候不能正常工作 (还有其他适配器可能需要通过代理连接ws吗?)

描述所需要的功能

但是有一些社区实现可以让 websockets 支持 proxy
比如:racinette/websockets_proxy
我们是否可以在 NoneBot 内部使用/重新实现 这些补丁让 websockets 支持 proxy

P.S. 如果认为使用补丁不好的话,是否至少应该抛出警告,告知用户设置了无用的 proxy

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions