webSocketNormalCloseCode top-level constant

  1. @visibleForTesting
int const webSocketNormalCloseCode

The code sent to the server when the socket closes in order to send new authentication information.

This is defined in dart:io, but we want to avoid that so we can build for the web.

Implementation

@visibleForTesting
const webSocketNormalCloseCode = 1000;