Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
code

code property

The connection close-code provided by the server.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
number = object.code

 

Property values

Type: unsigned long

The WebSocket connection close-code provided by the server.

See also

CloseEvent

 

 

Show:
© 2015 Microsoft