reason property

Server close-connection reason.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
string = object.reason

 

Property values

Type: DOMString

Indicates the reason why the server closed the connection.

Remarks

A string that indicates the reason the server closed the connection, and is specific to the particular server and sub-protocol.

See also

CloseEvent

 

 

Show:
© 2014 Microsoft