Skip to content

A method in the http API to close all open websocket connections #2288

@scmcgowen

Description

@scmcgowen

New method http.closeWebsockets()

  • Takes no arguments. Closes all open websocket connections

Why?

If you have too many websockets open, even if they've all been lost out of scope, CC will cause new websockets to error. A way to close them all would be useful (for instance in a shell after all programs terminate, or in a startup file to reset the programs without rebooting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn extension of a feature or a new feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions