Browse Source

[Modify] Edit it

pull/571/merge
sta 4 months ago
parent
commit
56fe39061d
  1. 4
      websocket-sharp/Server/WebSocketBehavior.cs

4
websocket-sharp/Server/WebSocketBehavior.cs

@ -787,7 +787,7 @@ namespace WebSocketSharp.Server
/// status code and reason. /// status code and reason.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// This method does nothing if the current state of the WebSocket
/// This method does nothing when the current state of the WebSocket
/// interface is Closing or Closed. /// interface is Closing or Closed.
/// </remarks> /// </remarks>
/// <param name="code"> /// <param name="code">
@ -834,7 +834,7 @@ namespace WebSocketSharp.Server
/// The size of <paramref name="reason"/> is greater than 123 bytes. /// The size of <paramref name="reason"/> is greater than 123 bytes.
/// </exception> /// </exception>
/// <exception cref="InvalidOperationException"> /// <exception cref="InvalidOperationException">
/// The session has not started yet.
/// The Close method is not available when the session has not started yet.
/// </exception> /// </exception>
protected void Close (CloseStatusCode code, string reason) protected void Close (CloseStatusCode code, string reason)
{ {

Loading…
Cancel
Save