WebsocketCloseCodes

The websocket close codes.

Signature

declare enum WebsocketCloseCodes {    NormalClosure = 1000,    GoingAway = 1001,    ProtocolError = 1002,    UnsupportedData = 1003,    NoStatusReceived = 1005,    AbnormalClosure = 1006,    InvalidFramePayloadData = 1007,    PolicyViolation = 1008,    MessageTooBig = 1009,    MandatoryExtension = 1010,    InternalError = 1011,    ServiceRestart = 1012,    TryAgainLater = 1013,    BadGateway = 1014,    TLSHandshakeFailure = 1015,    Unauthorized = 3000,    Forbidden = 3003,    Timeout = 3008}

Members

This export does not declare public properties or methods in the generated declaration file.