unsupportedData top-level constant

int const unsupportedData

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;