[Modify] Edit it

This commit is contained in:
sta 2017-11-22 15:31:17 +09:00
parent c00ffc8f7e
commit 200f996f9f

View File

@ -2457,11 +2457,29 @@ namespace WebSocketSharp
#region Public Methods #region Public Methods
/// <summary> /// <summary>
/// Accepts the WebSocket handshake request. /// Accepts the handshake request.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// This method is not available in a client. /// This method does nothing if the handshake request has already been
/// accepted.
/// </remarks> /// </remarks>
/// <exception cref="InvalidOperationException">
/// <para>
/// This instance is a client.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The close process is in progress.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The connection has already been closed.
/// </para>
/// </exception>
public void Accept () public void Accept ()
{ {
if (_client) { if (_client) {