Fix due to the modified WebSocket.cs

This commit is contained in:
sta
2012-10-13 17:38:19 +09:00
parent 97ecfc5d2b
commit 33cddb9fa2
24 changed files with 68 additions and 47 deletions

View File

@@ -101,8 +101,7 @@ ws.OnClose += (sender, e) =>
};
```
The `e.Code` (`WebSocketSharp.CloseEventArgs.Code`, its type is `WebSocketSharp.Frame.CloseStatusCode`) contains the close status code
and the `e.Reason` (`WebSocketSharp.CloseEventArgs.Reason`, its type is `string`) contains the reason why closes, so you operate them.
The `e.Code` (`WebSocketSharp.CloseEventArgs.Code`, its type is `WebSocketSharp.Frame.CloseStatusCode`) contains the close status code and the `e.Reason` (`WebSocketSharp.CloseEventArgs.Reason`, its type is `string`) contains the reason why closes, so you operate them.
#### Step 4 ####