[Modify] Edit it
This commit is contained in:
parent
c00ffc8f7e
commit
200f996f9f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user