WebSocketHandler typedef

WebSocketHandler = FutureOr<void> Function(WebSocketConnection connection)

A function that handles an active WebSocketConnection.

Implementation

typedef WebSocketHandler = FutureOr<void> Function(WebSocketConnection connection);