unsupportedData top-level constant

const unsupportedData = 1003

An endpoint is terminating the connection because it has received a type of data it cannot accept.

For example, an endpoint that understands only text data MAY send this if it receives a binary message).

Implementation

const unsupportedData = 1003