ServerUniverseWebSocketConnection constructor

ServerUniverseWebSocketConnection({
  1. required ServerUniverseWebSocketFunction onClose,
  2. required ServerUniverseWebSocketErrorFunction onError,
  3. required ServerUniverseWebSocketUpdateFunction onMessage,
  4. required ServerUniverseWebSocketFunction onOpen,
})

Implementation

ServerUniverseWebSocketConnection({
  required this.onClose,
  required this.onError,
  required this.onMessage,
  required this.onOpen,
});