|
1 | | -#region MIT License |
| 1 | +#region License |
2 | 2 | /* |
3 | 3 | * CloseStatusCode.cs |
4 | 4 | * |
@@ -49,59 +49,59 @@ public enum CloseStatusCode : ushort |
49 | 49 | /// <summary> |
50 | 50 | /// Equivalent to close status 1000. Indicates a normal closure. |
51 | 51 | /// </summary> |
52 | | - NORMAL = 1000, |
| 52 | + NORMAL = 1000, |
53 | 53 | /// <summary> |
54 | 54 | /// Equivalent to close status 1001. Indicates that an endpoint is "going away". |
55 | 55 | /// </summary> |
56 | | - AWAY = 1001, |
| 56 | + AWAY = 1001, |
57 | 57 | /// <summary> |
58 | 58 | /// Equivalent to close status 1002. Indicates that an endpoint is terminating the connection |
59 | 59 | /// due to a protocol error. |
60 | 60 | /// </summary> |
61 | | - PROTOCOL_ERROR = 1002, |
| 61 | + PROTOCOL_ERROR = 1002, |
62 | 62 | /// <summary> |
63 | 63 | /// Equivalent to close status 1003. Indicates that an endpoint is terminating the connection |
64 | 64 | /// because it has received a type of data it cannot accept. |
65 | 65 | /// </summary> |
66 | | - INCORRECT_DATA = 1003, |
| 66 | + INCORRECT_DATA = 1003, |
67 | 67 | /// <summary> |
68 | 68 | /// Equivalent to close status 1004. Still undefined. Reserved value. |
69 | 69 | /// </summary> |
70 | | - UNDEFINED = 1004, |
| 70 | + UNDEFINED = 1004, |
71 | 71 | /// <summary> |
72 | 72 | /// Equivalent to close status 1005. Indicates that no status code was actually present. Reserved value. |
73 | 73 | /// </summary> |
74 | | - NO_STATUS_CODE = 1005, |
| 74 | + NO_STATUS_CODE = 1005, |
75 | 75 | /// <summary> |
76 | 76 | /// Equivalent to close status 1006. Indicates that the connection was closed abnormally. Reserved value. |
77 | 77 | /// </summary> |
78 | | - ABNORMAL = 1006, |
| 78 | + ABNORMAL = 1006, |
79 | 79 | /// <summary> |
80 | 80 | /// Equivalent to close status 1007. Indicates that an endpoint is terminating the connection |
81 | 81 | /// because it has received data within a message that was not consistent with the type of the message. |
82 | 82 | /// </summary> |
83 | | - INCONSISTENT_DATA = 1007, |
| 83 | + INCONSISTENT_DATA = 1007, |
84 | 84 | /// <summary> |
85 | 85 | /// Equivalent to close status 1008. Indicates that an endpoint is terminating the connection |
86 | 86 | /// because it has received a message that violates its policy. |
87 | 87 | /// </summary> |
88 | | - POLICY_VIOLATION = 1008, |
| 88 | + POLICY_VIOLATION = 1008, |
89 | 89 | /// <summary> |
90 | 90 | /// Equivalent to close status 1009. Indicates that an endpoint is terminating the connection |
91 | 91 | /// because it has received a message that is too big for it to process. |
92 | 92 | /// </summary> |
93 | | - TOO_BIG = 1009, |
| 93 | + TOO_BIG = 1009, |
94 | 94 | /// <summary> |
95 | 95 | /// Equivalent to close status 1010. Indicates that an endpoint (client) is terminating the connection |
96 | 96 | /// because it has expected the server to negotiate one or more extension, but the server didn't return |
97 | 97 | /// them in the response message of the WebSocket handshake. |
98 | 98 | /// </summary> |
99 | | - IGNORE_EXTENSION = 1010, |
| 99 | + IGNORE_EXTENSION = 1010, |
100 | 100 | /// <summary> |
101 | 101 | /// Equivalent to close status 1011. Indicates that a server is terminating the connection because it encountered |
102 | 102 | /// an unexpected condition that prevented it from fulfilling the request. |
103 | 103 | /// </summary> |
104 | | - SERVER_ERROR = 1011, |
| 104 | + SERVER_ERROR = 1011, |
105 | 105 | /// <summary> |
106 | 106 | /// Equivalent to close status 1015. Indicates that the connection was closed due to a failure to perform |
107 | 107 | /// a TLS handshake. Reserved value. |
|
0 commit comments