Modified a few for 'WebSocket.OnClose Event'
This commit is contained in:
parent
f18bc58b06
commit
e7bb146394
@ -186,7 +186,7 @@ ws.OnClose += (sender, e) => {
|
||||
|
||||
`e` has passed as a `WebSocketSharp.CloseEventArgs`.
|
||||
|
||||
`e.Code` property returns a `ushort` that represents the status code indicating the reason for the close, and `e.Reason` property returns a `string` that represents the reason for the close. So you should use them to get the reason for the close.
|
||||
`e.Code` property returns a `ushort` that represents the status code indicating the reason for the close, and `e.Reason` property returns a `string` that represents the reason for the close.
|
||||
|
||||
#### Step 4 ####
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user