hasSocket property

bool get hasSocket

A boolean indicating if the server has an active WebSocket manager.

Implementation

bool get hasSocket => socketManager != null;