[Modify] Polish it
This commit is contained in:
parent
babc702f10
commit
b811f99e03
@ -183,7 +183,9 @@ namespace WebSocketSharp
|
|||||||
return buff.ToArray ();
|
return buff.ToArray ();
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
response.OutputStream.Close ();
|
response.OutputStream.Close ();
|
||||||
|
Loading…
Reference in New Issue
Block a user