We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10fc192 commit 2dae0a1Copy full SHA for 2dae0a1
websocket-sharp/Ext.cs
@@ -173,18 +173,6 @@ internal static string CheckIfValidProtocols (this string[] protocols)
173
: null;
174
}
175
176
- internal static bool CheckWaitTime (this TimeSpan time, out string message)
177
- {
178
- message = null;
179
-
180
- if (time <= TimeSpan.Zero) {
181
- message = "Zero or less.";
182
- return false;
183
- }
184
185
- return true;
186
187
188
internal static void Close (this HttpListenerResponse response, HttpStatusCode code)
189
{
190
response.StatusCode = (int) code;
0 commit comments