code property

The connection close-code provided by the server.

This property is read-only.

Syntax

JavaScript
number = object.code

Property values

Type: unsigned long

The WebSocket connection close-code provided by the server.

See also

CloseEvent

 

 

Show:
© 2014 Microsoft. All rights reserved.