ServerUniverseWebSocketErrorFunction typedef

ServerUniverseWebSocketErrorFunction = FutureOr Function(dynamic error, WebSocket webSocket, HttpRequest httpRequest, HttpResponse httpResponse)

Implementation

typedef ServerUniverseWebSocketErrorFunction = FutureOr<dynamic> Function(
  dynamic error,
  WebSocket webSocket,
  HttpRequest httpRequest,
  HttpResponse httpResponse,
);