websocket13
Version:
Simple WebSocket protocol 13 client with no native or heavy dependencies
18 lines • 566 B
TypeScript
declare enum StatusCode {
NormalClosure = 1000,
EndpointGoingAway = 1001,
ProtocolError = 1002,
UnacceptableDataType = 1003,
NoStatusCode = 1005,
AbnormalTermination = 1006,
InconsistentData = 1007,
PolicyViolation = 1008,
MessageTooBig = 1009,
MissingExtension = 1010,
UnexpectedCondition = 1011,
ServiceRestart = 1012,
TryAgainLater = 1013,
TLSFailed = 1015 /** MUST NOT be sent over the wire. Used internally when TLS handshake fails. */
}
export default StatusCode;
//# sourceMappingURL=StatusCode.d.ts.map