|
|
|
@ -1488,6 +1488,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 (CloseStatusCode code, string reason)
|
|
|
|
public void Stop (CloseStatusCode code, string reason)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (code == CloseStatusCode.MandatoryExtension) {
|
|
|
|
if (code == CloseStatusCode.MandatoryExtension) {
|
|
|
|
|