Skip to content

Misleading CloseCode enum #38

@jgraef

Description

@jgraef

Just looking at the documentation of CloseCode makes you think you can just use CloseCode::Protocol(x) with any x for application-defined errors, but these get passed through unchecked, so CloseCode::Protocol(1000) would be equivalent to CloseCode::Normal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions