[Modify] Remove it
This commit is contained in:
parent
10fc1924cc
commit
2dae0a101b
@ -173,18 +173,6 @@ namespace WebSocketSharp
|
|||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static bool CheckWaitTime (this TimeSpan time, out string message)
|
|
||||||
{
|
|
||||||
message = null;
|
|
||||||
|
|
||||||
if (time <= TimeSpan.Zero) {
|
|
||||||
message = "Zero or less.";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static void Close (this HttpListenerResponse response, HttpStatusCode code)
|
internal static void Close (this HttpListenerResponse response, HttpStatusCode code)
|
||||||
{
|
{
|
||||||
response.StatusCode = (int) code;
|
response.StatusCode = (int) code;
|
||||||
|
Loading…
Reference in New Issue
Block a user