|
|
|
@ -1405,6 +1405,7 @@ namespace WebSocketSharp.Server
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// The underlying <see cref="TcpListener"/> has failed to stop.
|
|
|
|
/// The underlying <see cref="TcpListener"/> has failed to stop.
|
|
|
|
/// </exception>
|
|
|
|
/// </exception>
|
|
|
|
|
|
|
|
[Obsolete ("This method will be removed.")]
|
|
|
|
public void Stop (ushort code, string reason)
|
|
|
|
public void Stop (ushort code, string reason)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!code.IsCloseStatusCode ()) {
|
|
|
|
if (!code.IsCloseStatusCode ()) {
|
|
|
|
|