reason property
Server close-connection reason.
This property is read-only.
![]() |
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
Show:
