using System; namespace SuperWebSocket.Protocol { /// /// Close status code interface /// public interface ICloseStatusCode { /// /// Gets the code for extension not match. /// int ExtensionNotMatch { get; } /// /// Gets the code for going away. /// int GoingAway { get; } /// /// Gets the code for invalid UT f8. /// int InvalidUTF8 { get; } /// /// Gets the code for normal closure. /// int NormalClosure { get; } /// /// Gets the code for not acceptable data. /// int NotAcceptableData { get; } /// /// Gets the code for protocol error. /// int ProtocolError { get; } /// /// Gets the code for TLS handshake failure. /// int TLSHandshakeFailure { get; } /// /// Gets the code for too large frame. /// int TooLargeFrame { get; } /// /// Gets the code for unexpected condition. /// int UnexpectedCondition { get; } /// /// Gets the code for violate policy. /// int ViolatePolicy { get; } /// /// Gets the code for no status code. /// int NoStatusCode { get; } } }